// Azure Storage JavaScript Client Library 3.0.100 // Copyright (c) Microsoft and contributors. All rights reserved. /* eslint-disable */ !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;((e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).AzureStorage||(e.AzureStorage={})).Table=t()}}(function(){return function o(s,a,u){function l(e,t){if(!a[e]){if(!s[e]){var r="function"==typeof require&&require;if(!t&&r)return r(e,!0);if(c)return c(e,!0);var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}var i=a[e]={exports:{}};s[e][0].call(i.exports,function(t){return l(s[e][1][t]||t)},i,i.exports,o,s,a,u)}return a[e].exports}for(var c="function"==typeof require&&require,t=0;t 0.9.0 and < 0.10.3. Please upgrade to node >= 0.10.3");r.xmlbuilder=t("xmlbuilder"),r.xml2js=t("xml2js"),r.Logger=t("./diagnostics/logger"),r.WebResource=t("./http/webresource"),r.StorageServiceClient=t("./services/storageserviceclient"),r.ServicePropertiesResult=t("./models/servicepropertiesresult"),r.ServiceStatsParser=t("./models/servicestatsparser"),r.AclResult=t("./models/aclresult"),r.TokenCredential=t("./models/tokencredential"),r.LinearRetryPolicyFilter=t("./filters/linearretrypolicyfilter"),r.ExponentialRetryPolicyFilter=t("./filters/exponentialretrypolicyfilter"),r.RetryPolicyFilter=t("./filters/retrypolicyfilter"),r.SharedAccessSignature=t("./signing/sharedaccesssignature"),r.SharedKey=t("./signing/sharedkey"),r.BatchOperation=t("./streams/batchoperation"),r.ChunkAllocator=t("./streams/chunkallocator"),r.ChunkStream=t("./streams/chunkstream"),r.ChunkStreamWithStream=t("./streams/chunkstreamwithstream"),r.SpeedSummary=t("./streams/speedsummary"),r.BufferStream=t("./streams/bufferstream"),r.Constants=t("./util/constants"),r.SR=t("./util/sr"),r.date=t("./util/date"),r.ISO8061Date=t("./util/iso8061date"),r.util=t("./util/util"),r.validate=t("./util/validate"),r.StorageUtilities=t("./util/storageutilities"),r.AccessCondition=t("./util/accesscondition")},{"./diagnostics/logger":4,"./filters/exponentialretrypolicyfilter":6,"./filters/linearretrypolicyfilter":7,"./filters/retrypolicyfilter":8,"./http/webresource":9,"./models/aclresult":11,"./models/servicepropertiesresult":12,"./models/servicestatsparser":13,"./models/tokencredential":14,"./services/storageserviceclient":17,"./signing/sharedaccesssignature":19,"./signing/sharedkey":20,"./streams/batchoperation":22,"./streams/bufferstream":24,"./streams/chunkallocator":25,"./streams/chunkstream":26,"./streams/chunkstreamwithstream":27,"./streams/speedsummary":28,"./util/accesscondition":29,"./util/constants":30,"./util/date":31,"./util/iso8061date":32,"./util/patch-xmlbuilder":33,"./util/sr":34,"./util/storageutilities":35,"./util/util":36,"./util/validate":37,xml2js:193,xmlbuilder:215}],4:[function(t,e,r){function o(t,e){this.level=t,this.loggerFunction=e,this.loggerFunction||(this.loggerFunction=this.defaultLoggerFunction)}o.logPriority=[(o.LogLevels={EMERGENCY:"emergency",ALERT:"alert",CRITICAL:"critical",ERROR:"error",WARNING:"warning",NOTICE:"notice",INFO:"info",DEBUG:"debug"}).EMERGENCY,o.LogLevels.ALERT,o.LogLevels.CRITICAL,o.LogLevels.ERROR,o.LogLevels.WARNING,o.LogLevels.NOTICE,o.LogLevels.INFO,o.LogLevels.DEBUG],o.prototype.log=function(t,e){this.loggerFunction(t,e)},o.prototype.emergency=function(t){this.log(o.LogLevels.EMERGENCY,t)},o.prototype.critical=function(t){this.log(o.LogLevels.CRITICAL,t)},o.prototype.alert=function(t){this.log(o.LogLevels.ALERT,t)},o.prototype.error=function(t){this.log(o.LogLevels.ERROR,t)},o.prototype.warn=function(t){this.log(o.LogLevels.WARNING,t)},o.prototype.notice=function(t){this.log(o.LogLevels.NOTICE,t)},o.prototype.info=function(t){this.log(o.LogLevels.INFO,t)},o.prototype.debug=function(t){this.log(o.LogLevels.DEBUG,t)},o.prototype.defaultLoggerFunction=function(t,e){var r=o.logPriority.indexOf(this.level),n=o.logPriority.indexOf(t),i=(new Date).toISOString();n<=r&&console.log("["+i+"]"+this.level+" : "+e)},e.exports=o},{}],5:[function(t,e,r){var n=t("util"),i=t("underscore");function o(t,e){Error.captureStackTrace&&Error.captureStackTrace(t,e)}function s(t,e){o(this,this.constructor),this.name=this.constructor.name,this.argumentName=t,this.message=e||n.format("Invalid or missing argument supplied: %s",t)}function a(t,e){o(this,this.constructor),this.name=this.constructor.name,this.argumentName=t,this.message=e||n.format("Missing argument: %s",t)}function u(t,e){o(this,this.constructor),this.name=this.constructor.name,this.message=t,e&&i.extend(this,e)}function l(t){o(this,this.constructor),this.name=this.constructor.name,this.message=t}n.inherits(s,Error),n.inherits(a,Error),n.inherits(u,Error),n.inherits(l,Error),e.exports.ArgumentError=s,e.exports.ArgumentNullError=a,e.exports.StorageError=u,e.exports.TimeoutError=l,e.exports.captureStackTrace=o},{underscore:110,util:116}],6:[function(t,e,r){"use strict";var i=t("./retrypolicyfilter");function o(t,e,r,n){this.retryCount=t||o.DEFAULT_CLIENT_RETRY_COUNT,this.retryInterval=e||o.DEFAULT_CLIENT_RETRY_INTERVAL,this.minRetryInterval=r||o.DEFAULT_CLIENT_MIN_RETRY_INTERVAL,this.maxRetryInterval=n||o.DEFAULT_CLIENT_MAX_RETRY_INTERVAL}o.DEFAULT_CLIENT_RETRY_INTERVAL=3e4,o.DEFAULT_CLIENT_RETRY_COUNT=3,o.DEFAULT_CLIENT_MAX_RETRY_INTERVAL=9e4,o.DEFAULT_CLIENT_MIN_RETRY_INTERVAL=3e3,o.prototype.shouldRetry=function(t,e){var r=e&&e.retryContext?e.retryContext:{},n=Math.pow(2,r.retryCount)-1;return n*=.8*this.retryInterval+Math.floor(Math.random()*(1.2*this.retryInterval-.8*this.retryInterval)),r.retryInterval=Math.min(this.minRetryInterval+n,this.maxRetryInterval),i._shouldRetryOnError(t,e)},o.prototype.handle=function(t,e){i._handle(this,t,e)},e.exports=o},{"./retrypolicyfilter":8}],7:[function(t,e,r){"use strict";var n=t("./retrypolicyfilter");function i(t,e){this.retryCount=t||i.DEFAULT_CLIENT_RETRY_COUNT,this.retryInterval=e||i.DEFAULT_CLIENT_RETRY_INTERVAL}i.DEFAULT_CLIENT_RETRY_INTERVAL=3e4,i.DEFAULT_CLIENT_RETRY_COUNT=3,i.prototype.shouldRetry=function(t,e){return(e&&e.retryContext?e.retryContext:{}).retryInterval=this.retryInterval,n._shouldRetryOnError(t,e)},i.prototype.handle=function(t,e){n._handle(this,t,e)},e.exports=i},{"./retrypolicyfilter":8}],8:[function(t,e,r){var p=t("../util/util"),d=t("../util/constants"),_=t("../util/storageutilities"),n=t("util")._extend;function i(t,e){this.retryCount=t||i.DEFAULT_CLIENT_RETRY_COUNT,this.retryInterval=e||i.DEFAULT_CLIENT_RETRY_INTERVAL}i.DEFAULT_CLIENT_RETRY_INTERVAL=3e4,i.DEFAULT_CLIENT_RETRY_COUNT=3,i.prototype.handle=function(t,e){i._handle(this,t,e)},i._handle=function(u,t,e){var l,c,f=n({},t);f.retryInterval=0,f.retryContext={retryCount:0,error:null,retryInterval:f.retryInterval,locationMode:f.locationMode,currentLocation:f.currentLocation};var h=function(){e&&e(f,function(t,e,r){t.error&&(f.retryContext.error&&(t.error.innerError=f.retryContext.error),f.retryContext.error=t.error);var n=f.currentLocation===d.StorageLocation.SECONDARY&&(t.response&&404===t.response.statusCode||t.error&&"ENOTFOUND"===t.error.code),i=!f.retryContext.retryCount||f.retryContext.retryCount<=u.retryCount,o=u.shouldRetry(n?500:p.objectIsNull(t.response)?306:t.response.statusCode,f);if(f.retryContext.retryCount++,o.ignore&&(t.error=null),p.objectIsNull(o.targetLocation)&&(o.targetLocation=p.getNextLocation(f.currentLocation,f.locationMode)),p.objectIsNull(o.retryInterval)&&(o.retryInterval=u.retryInterval),!t.outputStreamSent&&t.error&&p.objectIsNull(t.retryable)&&i&&(!p.objectIsNull(t.response)&&o.retryable||"ECONNREFUSED"===t.error.code||"ETIMEDOUT"===t.error.code||"ESOCKETTIMEDOUT"===t.error.code||"ECONNRESET"===t.error.code||"EAI_AGAIN"===t.error.code||"XHR error"===t.error.message)){f.currentLocation===d.StorageLocation.PRIMARY?l=t.operationEndTime:c=t.operationEndTime,n&&f.locationMode!==_.LocationMode.SECONDARY_ONLY&&(o.locationMode=_.LocationMode.PRIMARY_ONLY,o.targetLocation=d.StorageLocation.PRIMARY);var s=o.targetLocation===d.StorageLocation.PRIMARY?l:c;if(p.objectIsNull(s))f.retryInterval=0;else{var a=(new Date).getTime()-s.getTime();a<0&&(a=0),f.retryInterval=o.retryInterval-a}p.objectIsNull(o.locationMode)||(f.locationMode=o.locationMode),f.currentLocation=o.targetLocation,h()}else r?r(t):e&&e(t)})};h()},i._shouldRetryOnError=function(t,e){var r=e&&e.retryContext?e.retryContext:{};if(300<=t&&408!=t){if(501==t||505==t)return r.retryable=!1,r;e&&e.absorbConditionalErrorsOnRetry?412==t?r.lastServerError?(r.ignore=!0,r.retryable=!0):r.retryable=!1:500<=t&&t<600&&(r.retryable=!0,r.lastServerError=!0):t<500&&(r.retryable=!1)}return r},e.exports=i},{"../util/constants":30,"../util/storageutilities":35,"../util/util":36,util:116}],9:[function(t,e,r){var a=t("../util/util"),u=t("../util/sr"),n=t("../util/constants"),l=t("../errors/errors").ArgumentError,c=n.HeaderConstants,i=n.HttpConstants,o=(i=n.HttpConstants).HttpVerbs;function s(t){return t.replace(/'/g,"%27")}function f(){this.rawResponse=!1,this.queryString={}}f.put=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.PUT,e},f.get=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.GET,e},f.head=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.HEAD,e},f.del=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.DELETE,e},f.post=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.POST,e},f.merge=function(t){var e=new f;return e.path=t?s(t):null,e.method=i.HttpVerbs.MERGE,e},f.prototype.withProperty=function(t,e){return this.properties||(this.properties={}),this.properties[t]=e,this},f.prototype.withRawResponse=function(t){return this.rawResponse=t,a.objectIsNull(this.rawResponse)&&(this.rawResponse=!0),this},f.prototype.withHeadersOnly=function(t){return this.headersOnly=void 0===t||t,this},f.prototype.withQueryOption=function(t,e,r){return a.objectIsNull(e)?r&&(this.queryString[t]=r):this.queryString[t]=e,this},f.prototype.withQueryOptions=function(t){if(t)for(var e=1;e=t*this.concurrency||this._isLowMemory()},m.prototype._getApproximateMemoryUsage=function(){return(s.isBrowser()?p:t.memoryUsage().rss)+this._queuedOperation*this.operationMemoryUsage},m.prototype._isLowMemory=function(){var t=this._getApproximateMemoryUsage();return i.freemem()<_||this._activeOperation>=this.concurrency&&.5*de.operationId)throw new Error("Debug error: current callback operation id cannot be larger than operation id");r.logger.debug(o.format("Operation %d is waiting for firing callback %s",e.operationId,r._currentOperationId))}else r._fireOperationUserCallback(e);r._tryEmitDrainEvent(),r=e=null}},m.prototype._fireOperationUserCallback=function(t){var e=this._getCallbackOperationIndex();t||-1==e||(t=this._operations[e]),t&&!this._paused?(t._userCallback&&(this.logger.debug(o.format("Fire user call back for operation %d",t.operationId)),t._fireUserCallback()),this._operations.splice(e,1),this._activeOperation--,t.status=y.COMPLETE,e=t=null,this.callbackInOrder&&this._currentOperationId++,this._fireOperationUserCallback()):this._paused?this._tryEmitDrainEvent():this._tryEmitEndEvent()},m.prototype._tryEmitEndEvent=function(){return this._enableComplete&&0===this._activeOperation&&0===this._operations.length?(this._ended=!0,this.logger.debug(o.format("Batch operation %s emits the end event",this.name)),this._emitter.emit("end",this._error,null),!0):(this._tryEmitDrainEvent(),!1)},m.prototype._tryEmitDrainEvent=function(){return!!this._emitter&&((!this.IsWorkloadHeavy()||this._activeOperation=this._size)this.push(null);else{var t=this._offset+this._highWaterMark,e=this._file.slice(this._offset,t);this._fileReader.readAsArrayBuffer(e),this._offset=t}},e.exports=a},{"../util/constants":30,buffer:55,stream:87,util:116}],24:[function(t,e,r){var n=t("stream");function i(t,e){n.Readable.call(this,e),this._buffer=t,this._offset=0,this._chunkSize=4194304,this._bufferSize=t.length}t("util").inherits(i,n.Readable),i.prototype._read=function(){for(;this.push(this._readNextChunk()););},i.prototype._readNextChunk=function(){var t=null;if(this._offsetthis._bufferSize?this._bufferSize:e,t=this._buffer.slice(this._offset,e),this._offset=e}return t},e.exports=i},{stream:87,util:116}],25:[function(t,e,r){(function(i){function t(t,e){this._pool=[],this._inuse=0,this._chunkSize=t,this._maxCount=e||10,this._extendMemoryPool()}t.prototype.getBuffer=function(t){var e=this._getBufferFromPool(t);return null===e&&(e=i.alloc(t)),this._inuse++,e},t.prototype._getBufferFromPool=function(t){return t!==this._chunkSize?null:(0===this._pool.length&&this._extendMemoryPool(),0!==this._pool.length?this._pool.pop():null)},t.prototype._extendMemoryPool=function(){var t=this._pool.length+this._inuse;if(!(t>=this._maxCount))for(var e=(Math.min(2*t,this._maxCount)||1)-t,r=0;rthis._outputLengthLimit&&(t=t.slice(0,t.length-(this._offset-this._outputLengthLimit))),this._md5hash&&this._md5hash.update(t)):this._md5hash&&this._md5hash.update(t),this.emit("data",t,r)},o.prototype._copyToInternalBuffer=function(t,e,r){void 0===e&&(e=0),void 0===r&&(r=t.length),this._buffer||(this._buffer=this._allocateNewBuffer(),this._internalBufferSize=0);var n=t.copy(this._buffer,this._internalBufferSize,e,r);if(this._internalBufferSize+=n,this._stream&&this._stream._allocator&&this._stream._allocator.releaseBuffer&&this._stream._allocator.releaseBuffer(t),n!=r-e)throw new Error("Can not copy entire data to buffer")},o.prototype._flushInternalBuffer=function(){var t=this._popInternalBuffer();t&&this._emitBufferData(t)},o.prototype._popInternalBuffer=function(){var t=null;return t=this._buffer&&0!==this._internalBufferSize?this._internalBufferSize==this._highWaterMark?this._buffer:this._buffer.slice(0,this._internalBufferSize):null,this._buffer=null,this._internalBufferSize=0,t},o.prototype._allocateNewBuffer=function(){var t=this._highWaterMark;return this._allocator&&r.objectIsFunction(this._allocator.getBuffer)?this._allocator.getBuffer(t):a.alloc(t)},o.prototype.getContentMd5=function(t){if(t||(t="base64"),this._md5hash){if(this._streamEnded)return this._md5sum||(this._md5sum=this._md5hash.digest(t)),this._md5sum;throw new Error("Stream has not ended.")}throw new Error("Can't get content md5, please set the calcContentMd5 option for FileReadStream.")},o.prototype.pause=function(){this._paused=!0},o.prototype.resume=function(){this._paused&&(this._paused=!1,this.emit("drain"))},u.exports=o}).call(this,s("buffer").Buffer)},{"../md5-wrapper":10,"../util/constants":30,"../util/util":36,buffer:55,stream:87,util:116}],27:[function(t,e,r){var n=t("./chunkstream"),i=t("events").EventEmitter,o=t("util"),s=t("./../util/util");function a(t,e){n.call(this,e),t.pause(),this._stream=t,this._stream.on("end",this.end.bind(this))}o.inherits(a,n),a.prototype.on=function(t,e){return"end"===t&&this._streamEnded?e():i.prototype.on.call(this,t,e),"data"===t&&(this._isStreamOpened||(this._isStreamOpened=!0,this._stream.on("data",this._buildChunk.bind(this))),void 0===this._paused&&this._stream.resume()),this},a.prototype.stop=function(t,e,r){s.objectIsFunction(this._stream.destroy)?this._stream.destroy():this.pause(),n.prototype.end.call(this,t,e,r)},a.prototype.pause=function(){n.prototype.pause.call(this),this._stream.pause()},a.prototype.resume=function(){n.prototype.resume.call(this),this._stream.resume()},a.prototype.finish=function(){n.prototype.finish.call(this),this._stream.emit.call(this._stream,"finish")},a.prototype.destroy=function(){n.prototype.destroy.call(this),this._stream.emit.call(this._stream,"close")},e.exports=a},{"./../util/util":36,"./chunkstream":26,events:58,util:116}],28:[function(n,o,t){(function(r){var t=n("events"),s=n("util"),a=n("../util/util");function e(t){this.name=t,this._startTime=Date.now(),this._timeWindowInSeconds=10,this._timeWindow=1e3*this._timeWindowInSeconds,this._totalWindowSize=0,this._speedTracks=new Array(this._timeWindowInSeconds),this._speedTrackPtr=0,this.totalSize=void 0,this.completeSize=0}function i(t,e){if(!t)return"0B";(!e||e<=0)&&(e=2);var r=Math.floor(Math.log(t)/Math.log(1024));return(t/Math.pow(1024,r)).toFixed(e)+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][r]}s.inherits(e,t),e.prototype.getElapsedSeconds=function(t){var e=Date.now(),r=parseInt((e-this._startTime)/1e3,10);if(!1!==t){var n=parseInt(r%60,10);r/=60;var i=Math.floor(r%60);r/=60;var o=Math.floor(r);r=s.format("%s:%s:%s",a.zeroPaddingString(o,2),a.zeroPaddingString(i,2),a.zeroPaddingString(n,2))}return r},e.prototype.getCompletePercent=function(t){return this.totalSize?((!t||t<=0)&&(t=1),(100*this.completeSize/this.totalSize).toFixed(t)):0===this.totalSize?100:0},e.prototype.getAverageSpeed=function(t){var e=this.getElapsedSeconds(!1);return this._getInternalSpeed(this.completeSize,e,t)},e.prototype.getSpeed=function(t){this._refreshSpeedTracks();var e=this.getElapsedSeconds(!1);return e=Math.min(e,this._timeWindowInSeconds),this._getInternalSpeed(this._totalWindowSize,e,t)},e.prototype._getInternalSpeed=function(t,e,r){e<=0&&(e=1);var n=t/e;return!1!==r&&(n=i(n)+"/s"),n},e.prototype._refreshSpeedTracks=function(){for(var t=Date.now(),e=0,r=0;rthis._timeWindow?(r.timeStamp=e,r.size=t):n<=1e3?r.size+=t:(this._speedTrackPtr=(this._speedTrackPtr+1)%this._timeWindowInSeconds,this._recordSpeed(t))}else r={timeStamp:e,size:t},this._speedTracks[this._speedTrackPtr]=r},e.prototype.getAutoIncrementFunction=function(n){var i=this;return function(t,e){if(!t){var r=0;r=!e&&0!==e||isNaN(e)?n:e,i.increment(r)}}},e.prototype.getTotalSize=function(t){return!1!==t?i(this.totalSize):this.totalSize},e.prototype.getCompleteSize=function(t){return!1!==t?i(this.completeSize):this.completeSize},o.exports=e}).call(this,n("_process"))},{"../util/util":36,_process:71,events:58,util:116}],29:[function(t,e,r){"use strict";(r=e.exports).generateEmptyCondition=function(){return{}},r.generateIfNotExistsCondition=function(){var t={EtagNonMatch:"*"};return t},r.generateIfExistsCondition=function(){var t={EtagMatch:"*"};return t},r.generateIfNoneMatchCondition=function(t){var e={};return e.EtagNonMatch=t,e},r.generateIfMatchCondition=function(t){var e={};return e.EtagMatch=t,e},r.generateIfModifiedSinceCondition=function(t){var e={};return e.DateModifedSince=t,e},r.generateIfNotModifiedSinceCondition=function(t){var e={};return e.DateUnModifiedSince=t,e},r.generateSequenceNumberEqualCondition=function(t){var e={};return e.SequenceNumberEqual=t,e},r.generateSequenceNumberLessThanCondition=function(t){var e={};return e.SequenceNumberLessThan=t,e},r.generateSequenceNumberLessThanOrEqualCondition=function(t){var e={};return e.SequenceNumberLessThanOrEqual=t,e}},{}],30:[function(t,n,e){(function(t){n.exports;var e=t.env.AZURE_STORAGE_DNS_SUFFIX||"core.windows.net",r={USER_AGENT_PRODUCT_NAME:"Azure-Storage",USER_AGENT_PRODUCT_VERSION:"2.10.3",DEFAULT_PARALLEL_OPERATION_THREAD_COUNT:5,DEFAULT_ENABLE_REUSE_SOCKET:!0,KB:1024,MB:1048576,GB:1073741824,HTTP:"http:",HTTPS:"https:",DEFAULT_HTTP_PORT:80,DEFAULT_HTTPS_PORT:443,DEFAULT_CLIENT_REQUEST_TIMEOUT_IN_MS:12e4,XML_METADATA_MARKER:"$",XML_VALUE_MARKER:"_",ServiceType:{Blob:"blob",Queue:"queue",Table:"table",File:"file"},RequestLocationMode:{PRIMARY_ONLY:0,SECONDARY_ONLY:1,PRIMARY_OR_SECONDARY:2},StorageLocation:{PRIMARY:0,SECONDARY:1},AccountSasConstants:{Permissions:{READ:"r",ADD:"a",CREATE:"c",UPDATE:"u",PROCESS:"p",WRITE:"w",DELETE:"d",LIST:"l"},Services:{BLOB:"b",FILE:"f",QUEUE:"q",TABLE:"t"},Resources:{SERVICE:"s",CONTAINER:"c",OBJECT:"o"},Protocols:{HTTPSONLY:"https",HTTPSORHTTP:"https,http"}},AclConstants:{ACCESS_POLICY:"AccessPolicy",EXPIRY:"Expiry",ID:"Id",PERMISSION:"Permission",SIGNED_IDENTIFIER_ELEMENT:"SignedIdentifier",SIGNED_IDENTIFIERS_ELEMENT:"SignedIdentifiers",START:"Start"},ServicePropertiesConstants:{STORAGE_SERVICE_PROPERTIES_ELEMENT:"StorageServiceProperties",DEFAULT_ANALYTICS_VERSION:"1.0",LOGGING_ELEMENT:"Logging",VERSION_ELEMENT:"Version",DELETE_ELEMENT:"Delete",READ_ELEMENT:"Read",WRITE_ELEMENT:"Write",RETENTION_POLICY_ELEMENT:"RetentionPolicy",ENABLED_ELEMENT:"Enabled",DAYS_ELEMENT:"Days",HOUR_METRICS_ELEMENT:"HourMetrics",MINUTE_METRICS_ELEMENT:"MinuteMetrics",CORS_ELEMENT:"Cors",CORS_RULE_ELEMENT:"CorsRule",ALLOWED_ORIGINS_ELEMENT:"AllowedOrigins",ALLOWED_METHODS_ELEMENT:"AllowedMethods",MAX_AGE_IN_SECONDS_ELEMENT:"MaxAgeInSeconds",EXPOSED_HEADERS_ELEMENT:"ExposedHeaders",ALLOWED_HEADERS_ELEMENT:"AllowedHeaders",INCLUDE_APIS_ELEMENT:"IncludeAPIs",DEFAULT_SERVICE_VERSION_ELEMENT:"DefaultServiceVersion",DEFAULT_DELETE_RETENTION_POLICY_ELEMENT:"DeleteRetentionPolicy",DEFAULT_STATIC_WEBSITE_ELEMENT:"StaticWebsite",DEFAULT_INDEX_DOCUMENT_ELEMENT:"IndexDocument",DEFAULT_ERROR_DOCUMENT_404_PATH_ELEMENT:"ErrorDocument404Path"},BlobConstants:{LATEST_ELEMENT:"Latest",UNCOMMITTED_ELEMENT:"Uncommitted",BLOCK_LIST_ELEMENT:"BlockList",COMMITTED_ELEMENT:"Committed",DEFAULT_WRITE_PAGE_SIZE_IN_BYTES:4194304,MIN_WRITE_PAGE_SIZE_IN_BYTES:2097152,DEFAULT_SINGLE_BLOB_PUT_THRESHOLD_IN_BYTES:33554432,DEFAULT_WRITE_BLOCK_SIZE_IN_BYTES:4194304,DEFAULT_CRITICAL_MEMORY_LIMITATION_32_IN_BYTES:838860800,DEFAULT_CRITICAL_MEMORY_LIMITATION_BROWSER_IN_BYTES:1073741824,DEFAULT_MINIMUM_MEMORY_USAGE_BROWSER_IN_BYTES:4194304,MAX_BLOCK_BLOB_BLOCK_SIZE:104857600,MAX_APPEND_BLOB_BLOCK_SIZE:4194304,MAX_SINGLE_UPLOAD_BLOB_SIZE_IN_BYTES:67108864,MAX_RANGE_GET_SIZE_WITH_MD5:4194304,MAX_UPDATE_PAGE_SIZE:4194304,MAX_QUEUED_WRITE_DISK_BUFFER_SIZE:67108864,MAX_SINGLE_GET_PAGE_RANGE_SIZE:155189248,PAGE_SIZE:512,ResourceTypes:{CONTAINER:"c",BLOB:"b"},ListBlobTypes:{Blob:"b",Directory:"d"},PageWriteOptions:{UPDATE:"update",CLEAR:"clear"},BlobTypes:{BLOCK:"BlockBlob",PAGE:"PageBlob",APPEND:"AppendBlob"},LeaseOperation:{ACQUIRE:"acquire",RENEW:"renew",CHANGE:"change",RELEASE:"release",BREAK:"break"}},FileConstants:{DEFAULT_WRITE_SIZE_IN_BYTES:4194304,MAX_RANGE_GET_SIZE_WITH_MD5:4194304,MAX_UPDATE_FILE_SIZE:4194304,DEFAULT_SINGLE_FILE_GET_THRESHOLD_IN_BYTES:33554432,MIN_WRITE_FILE_SIZE_IN_BYTES:2097152,RangeWriteOptions:{UPDATE:"update",CLEAR:"clear"},ResourceTypes:{SHARE:"s",FILE:"f"}},QueueConstants:{QUEUE_MESSAGE_ELEMENT:"QueueMessage",MESSAGE_TEXT_ELEMENT:"MessageText"},TableConstants:{CHANGESET_DELIMITER:"--changesetresponse_",BATCH_DELIMITER:"--batchresponse_",CONTINUATION_NEXT_ROW_KEY:"x-ms-continuation-nextrowkey",CONTINUATION_NEXT_PARTITION_KEY:"x-ms-continuation-nextpartitionkey",CONTINUATION_NEXT_TABLE_NAME:"x-ms-continuation-nexttablename",NEXT_ROW_KEY:"NextRowKey",NEXT_PARTITION_KEY:"NextPartitionKey",NEXT_TABLE_NAME:"NextTableName",ODATA_PREFIX:"odata.",ODATA_TYPE_SUFFIX:"@odata.type",ODATA_METADATA_MARKER:".metadata",ODATA_VALUE_MARKER:"_",ODATA_TYPE_MARKER:"$",DEFAULT_DATA_SERVICE_VERSION:"3.0;NetFx",TABLE_NAME:"TableName",TABLE_SERVICE_TABLE_NAME:"Tables",Operations:{RETRIEVE:"RETRIEVE",INSERT:"INSERT",REPLACE:"REPLACE",MERGE:"MERGE",DELETE:"DELETE",INSERT_OR_REPLACE:"INSERT_OR_REPLACE",INSERT_OR_MERGE:"INSERT_OR_MERGE"}},HeaderConstants:{ACCEPT_RANGES:"accept_ranges",CONTENT_TRANSFER_ENCODING:"content-transfer-encoding",TRANSFER_ENCODING:"transfer-encoding",SERVER:"server",LOCATION:"location",LAST_MODIFIED:"Last-Modified",CREATION_TIME:"x-ms-creation-time",DATA_SERVICE_VERSION:"dataserviceversion",MAX_DATA_SERVICE_VERSION:"maxdataserviceversion",PREFIX_FOR_STORAGE:"x-ms-",CLIENT_REQUEST_ID:"x-ms-client-request-id",APPROXIMATE_MESSAGES_COUNT:"x-ms-approximate-messages-count",AUTHORIZATION:"authorization",FORCE_NO_CACHE_IN_BROWSER:"_",BLOB_PUBLIC_ACCESS:"x-ms-blob-public-access",HAS_IMMUTABILITY_POLICY:"x-ms-has-immutability-policy",HAS_LEGAL_HOLD:"x-ms-has-legal-hold",BLOB_TYPE:"x-ms-blob-type",TYPE:"x-ms-type",BLOCK_BLOB:"blockblob",CACHE_CONTROL:"cache-control",BLOB_CACHE_CONTROL:"x-ms-blob-cache-control",FILE_CACHE_CONTROL:"x-ms-cache-control",COPY_STATUS:"x-ms-copy-status",COPY_COMPLETION_TIME:"x-ms-copy-completion-time",COPY_STATUS_DESCRIPTION:"x-ms-copy-status-description",COPY_ID:"x-ms-copy-id",COPY_PROGRESS:"x-ms-copy-progress",COPY_ACTION:"x-ms-copy-action",INCREMENTAL_COPY:"x-ms-incremental-copy",COPY_DESTINATION_SNAPSHOT:"x-ms-copy-destination-snapshot",CONTENT_ID:"content-id",CONTENT_ENCODING:"content-encoding",BLOB_CONTENT_ENCODING:"x-ms-blob-content-encoding",FILE_CONTENT_ENCODING:"x-ms-content-encoding",CONTENT_LANGUAGE:"content-language",BLOB_CONTENT_LANGUAGE:"x-ms-blob-content-language",FILE_CONTENT_LANGUAGE:"x-ms-content-language",CONTENT_LENGTH:"content-length",BLOB_CONTENT_LENGTH:"x-ms-blob-content-length",FILE_CONTENT_LENGTH:"x-ms-content-length",CONTENT_DISPOSITION:"content-disposition",BLOB_CONTENT_DISPOSITION:"x-ms-blob-content-disposition",FILE_CONTENT_DISPOSITION:"x-ms-content-disposition",CONTENT_MD5:"content-md5",BLOB_CONTENT_MD5:"x-ms-blob-content-md5",FILE_CONTENT_MD5:"x-ms-content-md5",CONTENT_RANGE:"cache-range",CONTENT_TYPE:"content-type",BLOB_CONTENT_TYPE:"x-ms-blob-content-type",FILE_CONTENT_TYPE:"x-ms-content-type",COPY_SOURCE:"x-ms-copy-source",DATE:"date",MS_DATE:"x-ms-date",DELETE_SNAPSHOT:"x-ms-delete-snapshots",ETAG:"etag",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",INCLUDE_SNAPSHOTS_VALUE:"include",JSON_CONTENT_TYPE_VALUE:"application/json",SKU_NAME:"x-ms-sku-name",ACCOUNT_KIND:"x-ms-account-kind",LEASE_ID:"x-ms-lease-id",LEASE_BREAK_PERIOD:"x-ms-lease-break-period",PROPOSED_LEASE_ID:"x-ms-proposed-lease-id",LEASE_DURATION:"x-ms-lease-duration",SOURCE_LEASE_ID:"x-ms-source-lease-id",LEASE_TIME:"x-ms-lease-time",LEASE_STATUS:"x-ms-lease-status",LEASE_STATE:"x-ms-lease-state",PAGE_BLOB:"PageBlob",PAGE_WRITE:"x-ms-page-write",FILE_WRITE:"x-ms-write",PREFER:"Prefer",PREFER_CONTENT:"return-content",PREFER_NO_CONTENT:"return-no-content",PREFIX_FOR_STORAGE_METADATA:"x-ms-meta-",PREFIX_FOR_STORAGE_PROPERTIES:"x-ms-prop-",RANGE:"Range",SOURCE_RANGE:"x-ms-source-range",RANGE_GET_CONTENT_MD5:"x-ms-range-get-content-md5",RANGE_HEADER_FORMAT:"bytes:%d-%d",REQUEST_ID:"x-ms-request-id",SEQUENCE_NUMBER:"x-ms-blob-sequence-number",SEQUENCE_NUMBER_EQUAL:"x-ms-if-sequence-number-eq",SEQUENCE_NUMBER_LESS_THAN:"x-ms-if-sequence-number-lt",SEQUENCE_NUMBER_LESS_THAN_OR_EQUAL:"x-ms-if-sequence-number-le",SEQUENCE_NUMBER_ACTION:"x-ms-sequence-number-action",SIZE:"x-ms-blob-content-length",SNAPSHOT:"x-ms-snapshot",SNAPSHOTS_ONLY_VALUE:"only",SOURCE_IF_MATCH:"x-ms-source-if-match",SOURCE_IF_MODIFIED_SINCE:"x-ms-source-if-modified-since",SOURCE_IF_NONE_MATCH:"x-ms-source-if-none-match",SOURCE_IF_UNMODIFIED_SINCE:"x-ms-source-if-unmodified-since",STORAGE_RANGE:"x-ms-range",STORAGE_VERSION:"x-ms-version",TARGET_STORAGE_VERSION:"2018-03-28",USER_AGENT:"user-agent",POP_RECEIPT:"x-ms-popreceipt",TIME_NEXT_VISIBLE:"x-ms-time-next-visible",APPROXIMATE_MESSAGE_COUNT:"x-ms-approximate-message-count",LEASE_ACTION:"x-ms-lease-action",ACCEPT:"accept",ACCEPT_CHARSET:"Accept-Charset",HOST:"host",CORRELATION_ID:"x-ms-correlation-id",GROUP_ID:"x-ms-group-id",SHARE_QUOTA:"x-ms-share-quota",BLOB_CONDITION_MAX_SIZE:"x-ms-blob-condition-maxsize",BLOB_CONDITION_APPEND_POSITION:"x-ms-blob-condition-appendpos",BLOB_APPEND_OFFSET:"x-ms-blob-append-offset",BLOB_COMMITTED_BLOCK_COUNT:"x-ms-blob-committed-block-count",REQUEST_SERVER_ENCRYPTED:"x-ms-request-server-encrypted",SERVER_ENCRYPTED:"x-ms-server-encrypted",ACCESS_TIER:"x-ms-access-tier",ACCESS_TIER_CHANGE_TIME:"x-ms-access-tier-change-time",ACCESS_TIER_INFERRED:"x-ms-access-tier-inferred",ARCHIVE_STATUS:"x-ms-archive-status"},QueryStringConstants:{API_VERSION:"api-version",COMP:"comp",RESTYPE:"restype",COPY_ID:"copyid",SNAPSHOT:"snapshot",SHARE_SNAPSHOT:"sharesnapshot",PREV_SNAPSHOT:"prevsnapshot",TIMEOUT:"timeout",SIGNED_START:"st",SIGNED_EXPIRY:"se",SIGNED_RESOURCE:"sr",SIGNED_PERMISSIONS:"sp",SIGNED_SERVICES:"ss",SIGNED_RESOURCE_TYPES:"srt",SIGNED_IP:"sip",SIGNED_PROTOCOL:"spr",SIGNED_IDENTIFIER:"si",SIGNATURE:"sig",SIGNED_VERSION:"sv",CACHE_CONTROL:"rscc",CONTENT_TYPE:"rsct",CONTENT_ENCODING:"rsce",CONTENT_LANGUAGE:"rscl",CONTENT_DISPOSITION:"rscd",BLOCK_ID:"blockid",BLOCK_LIST_TYPE:"blocklisttype",PREFIX:"prefix",MARKER:"marker",MAX_RESULTS:"maxresults",DELIMITER:"delimiter",INCLUDE:"include",PEEK_ONLY:"peekonly",NUM_OF_MESSAGES:"numofmessages",POP_RECEIPT:"popreceipt",VISIBILITY_TIMEOUT:"visibilitytimeout",MESSAGE_TTL:"messagettl",SELECT:"$select",FILTER:"$filter",TOP:"$top",SKIP:"$skip",NEXT_PARTITION_KEY:"NextPartitionKey",NEXT_ROW_KEY:"NextRowKey",LOCK_ID:"lockid",TABLENAME:"tn",STARTPK:"spk",STARTRK:"srk",ENDPK:"epk",ENDRK:"erk"},StorageServiceClientConstants:{DEFAULT_PROTOCOL:"https:",EnvironmentVariables:{AZURE_STORAGE_ACCOUNT:"AZURE_STORAGE_ACCOUNT",AZURE_STORAGE_ACCESS_KEY:"AZURE_STORAGE_ACCESS_KEY",AZURE_STORAGE_DNS_SUFFIX:"AZURE_STORAGE_DNS_SUFFIX",AZURE_STORAGE_CONNECTION_STRING:"AZURE_STORAGE_CONNECTION_STRING",HTTP_PROXY:"HTTP_PROXY",HTTPS_PROXY:"HTTPS_PROXY",EMULATED:"EMULATED"},DEVSTORE_STORAGE_ACCOUNT:"devstoreaccount1",DEVSTORE_STORAGE_ACCESS_KEY:"Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==",DEV_STORE_URI:"http://127.0.0.1",DEVSTORE_DEFAULT_PROTOCOL:"http://",DEVSTORE_BLOB_HOST:"127.0.0.1:10000",DEVSTORE_QUEUE_HOST:"127.0.0.1:10001",DEVSTORE_TABLE_HOST:"127.0.0.1:10002",CLOUD_BLOB_HOST:"blob."+e,CLOUD_QUEUE_HOST:"queue."+e,CLOUD_TABLE_HOST:"table."+e,CLOUD_FILE_HOST:"file."+e},HttpConstants:{HttpVerbs:{PUT:"PUT",GET:"GET",DELETE:"DELETE",POST:"POST",MERGE:"MERGE",HEAD:"HEAD"},HttpResponseCodes:{Ok:200,Created:201,Accepted:202,NoContent:204,PartialContent:206,BadRequest:400,Unauthorized:401,Forbidden:403,NotFound:404,Conflict:409,LengthRequired:411,PreconditionFailed:412}},CompatibleVersionConstants:{AUGUST_2013:"2013-08-15",FEBRUARY_2012:"2012-02-12"},BlobErrorCodeStrings:{INVALID_BLOCK_ID:"InvalidBlockId",BLOB_NOT_FOUND:"BlobNotFound",BLOB_ALREADY_EXISTS:"BlobAlreadyExists",CONTAINER_ALREADY_EXISTS:"ContainerAlreadyExists",CONTAINER_NOT_FOUND:"ContainerNotFound",INVALID_BLOB_OR_BLOCK:"InvalidBlobOrBlock",INVALID_BLOCK_LIST:"InvalidBlockList"},FileErrorCodeStrings:{SHARE_ALREADY_EXISTS:"ShareAlreadyExists",SHARE_NOT_FOUND:"ShareNotFound",FILE_NOT_FOUND:"FileNotFound"},QueueErrorCodeStrings:{QUEUE_NOT_FOUND:"QueueNotFound",QUEUE_DISABLED:"QueueDisabled",QUEUE_ALREADY_EXISTS:"QueueAlreadyExists",QUEUE_NOT_EMPTY:"QueueNotEmpty",QUEUE_BEING_DELETED:"QueueBeingDeleted",POP_RECEIPT_MISMATCH:"PopReceiptMismatch",INVALID_PARAMETER:"InvalidParameter",MESSAGE_NOT_FOUND:"MessageNotFound",MESSAGE_TOO_LARGE:"MessageTooLarge",INVALID_MARKER:"InvalidMarker"},StorageErrorCodeStrings:{CONDITION_NOT_MET:"ConditionNotMet",MISSING_REQUIRED_HEADER:"MissingRequiredHeader",MISSING_REQUIRED_XML_NODE:"MissingRequiredXmlNode",UNSUPPORTED_HEADER:"UnsupportedHeader",UNSUPPORTED_XML_NODE:"UnsupportedXmlNode",INVALID_HEADER_VALUE:"InvalidHeaderValue",INVALID_XML_NODE_VALUE:"InvalidXmlNodeValue",MISSING_REQUIRED_QUERY_PARAMETER:"MissingRequiredQueryParameter",UNSUPPORTED_QUERY_PARAMETER:"UnsupportedQueryParameter",INVALID_QUERY_PARAMETER_VALUE:"InvalidQueryParameterValue",OUT_OF_RANGE_QUERY_PARAMETER_VALUE:"OutOfRangeQueryParameterValue",REQUEST_URL_FAILED_TO_PARSE:"RequestUrlFailedToParse",INVALID_URI:"InvalidUri",INVALID_HTTP_VERB:"InvalidHttpVerb",EMPTY_METADATA_KEY:"EmptyMetadataKey",INVALID_XML_DOCUMENT:"InvalidXmlDocument",MD5_MISMATCH:"Md5Mismatch",INVALID_MD5:"InvalidMd5",OUT_OF_RANGE_INPUT:"OutOfRangeInput",INVALID_AUTHENTICATION_INFO:"InvalidAuthenticationInfo",INVALID_INPUT:"InvalidInput",INVALID_METADATA:"InvalidMetadata",INVALID_RESOURCE_NAME:"InvalidResourceName",METADATA_TOO_LARGE:"MetadataTooLarge",CONDITION_HEADER_NOT_SUPPORTED:"ConditionHeadersNotSupported",MULTIPLE_CONDITION_HEADER_NOT_SUPPORTED:"MultipleConditionHeadersNotSupported",AUTHENTICATION_FAILED:"AuthenticationFailed",INSUFFICIENT_ACCOUNT_PERMISSIONS:"InsufficientAccountPermissions",RESOURCE_NOT_FOUND:"ResourceNotFound",ACCOUNT_IS_DISABLED:"AccountIsDisabled",UNSUPPORTED_HTTP_VERB:"UnsupportedHttpVerb",ACCOUNT_ALREADY_EXISTS:"AccountAlreadyExists",ACCOUNT_BEING_CREATED:"AccountBeingCreated",RESOURCE_ALREADY_EXISTS:"ResourceAlreadyExists",RESOURCE_TYPE_MISMATCH:"ResourceTypeMismatch",MISSING_CONTENT_LENGTH_HEADER:"MissingContentLengthHeader",REQUEST_BODY_TOO_LARGE:"RequestBodyTooLarge",INVALID_RANGE:"InvalidRange",INTERNAL_ERROR:"InternalError",OPERATION_TIMED_OUT:"OperationTimedOut",SERVER_BUSY:"ServerBusy",UPDATE_CONDITION_NOT_SATISFIED:"UpdateConditionNotSatisfied",CONTAINER_NOT_FOUND:"ContainerNotFound",CONTAINER_ALREADY_EXISTS:"ContainerAlreadyExists",CONTAINER_DISABLED:"ContainerDisabled",CONTAINER_BEING_DELETED:"ContainerBeingDeleted"},TableErrorCodeStrings:{XMETHOD_NOT_USING_POST:"XMethodNotUsingPost",XMETHOD_INCORRECT_VALUE:"XMethodIncorrectValue",XMETHOD_INCORRECT_COUNT:"XMethodIncorrectCount",TABLE_HAS_NO_PROPERTIES:"TableHasNoProperties",DUPLICATE_PROPERTIES_SPECIFIED:"DuplicatePropertiesSpecified",TABLE_HAS_NO_SUCH_PROPERTY:"TableHasNoSuchProperty",DUPLICATE_KEY_PROPERTY_SPECIFIED:"DuplicateKeyPropertySpecified",TABLE_ALREADY_EXISTS:"TableAlreadyExists",TABLE_NOT_FOUND:"TableNotFound",ENTITY_NOT_FOUND:"EntityNotFound",ENTITY_ALREADY_EXISTS:"EntityAlreadyExists",PARTITION_KEY_NOT_SPECIFIED:"PartitionKeyNotSpecified",OPERATOR_INVALID:"OperatorInvalid",UPDATE_CONDITION_NOT_SATISFIED:"UpdateConditionNotSatisfied",PROPERTIES_NEED_VALUE:"PropertiesNeedValue",PARTITION_KEY_PROPERTY_CANNOT_BE_UPDATED:"PartitionKeyPropertyCannotBeUpdated",TOO_MANY_PROPERTIES:"TooManyProperties",ENTITY_TOO_LARGE:"EntityTooLarge",PROPERTY_VALUE_TOO_LARGE:"PropertyValueTooLarge",INVALID_VALUE_TYPE:"InvalidValueType",TABLE_BEING_DELETED:"TableBeingDeleted",TABLE_SERVER_OUT_OF_MEMORY:"TableServerOutOfMemory",PRIMARY_KEY_PROPERTY_IS_INVALID_TYPE:"PrimaryKeyPropertyIsInvalidType",PROPERTY_NAME_TOO_LONG:"PropertyNameTooLong",PROPERTY_NAME_INVALID:"PropertyNameInvalid",BATCH_OPERATION_NOT_SUPPORTED:"BatchOperationNotSupported",JSON_FORMAT_NOT_SUPPORTED:"JsonFormatNotSupported",METHOD_NOT_ALLOWED:"MethodNotAllowed",NOT_IMPLEMENTED:"NotImplemented"},ConnectionStringKeys:{USE_DEVELOPMENT_STORAGE_NAME:"UseDevelopmentStorage",DEVELOPMENT_STORAGE_PROXY_URI_NAME:"DevelopmentStorageProxyUri",DEFAULT_ENDPOINTS_PROTOCOL_NAME:"DefaultEndpointsProtocol",ACCOUNT_NAME_NAME:"AccountName",ACCOUNT_KEY_NAME:"AccountKey",BLOB_ENDPOINT_NAME:"BlobEndpoint",FILE_ENDPOINT_NAME:"FileEndpoint",QUEUE_ENDPOINT_NAME:"QueueEndpoint",TABLE_ENDPOINT_NAME:"TableEndpoint",SHARED_ACCESS_SIGNATURE_NAME:"SharedAccessSignature",ENDPOINT_SUFFIX_NAME:"EndpointSuffix",BLOB_BASE_DNS_NAME:"blob.core.windows.net",FILE_BASE_DNS_NAME:"file.core.windows.net",QUEUE_BASE_DNS_NAME:"queue.core.windows.net",TABLE_BASE_DNS_NAME:"table.core.windows.net"}};n.exports=r}).call(this,t("_process"))},{_process:71}],31:[function(t,e,r){r.daysFromNow=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r.hoursFromNow=function(t){var e=new Date;return e.setHours(e.getHours()+t),e},r.minutesFromNow=function(t){var e=new Date;return e.setMinutes(e.getMinutes()+t),e},r.secondsFromNow=function(t){var e=new Date;return e.setSeconds(e.getSeconds()+t),e}},{}],32:[function(t,e,r){r.format=function(t){var e=t.toISOString();return e.substring(0,e.length-1)+"0000Z"},r.parse=function(t){var e=t.split("T"),r=e[0].split("-"),n=e[1].split("."),i=n[0].split(":"),o=0;return n[1]&&(o=n[1].split("Z")),new Date(Date.UTC(parseInt(r[0],10),parseInt(r[1],10)-1,parseInt(r[2],10),parseInt(i[0],10),parseInt(i[1],10),parseInt(i[2],10),Math.round(parseInt(function(t,e){for(var r=""+t;r.lengthn){var e=n-o;0>16&255,s[a++]=e>>8&255,s[a++]=255&e;2===o&&(e=f[t.charCodeAt(r)]<<2|f[t.charCodeAt(r+1)]>>4,s[a++]=255&e);1===o&&(e=f[t.charCodeAt(r)]<<10|f[t.charCodeAt(r+1)]<<4|f[t.charCodeAt(r+2)]>>2,s[a++]=e>>8&255,s[a++]=255&e);return s},r.fromByteArray=function(t){for(var e,r=t.length,n=r%3,i=[],o=0,s=r-n;o>2]+a[e<<4&63]+"==")):2===n&&(e=(t[r-2]<<8)+t[r-1],i.push(a[e>>10]+a[e>>4&63]+a[e<<2&63]+"="));return i.join("")};for(var a=[],f=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=n.length;i>18&63]+a[i>>12&63]+a[i>>6&63]+a[63&i]);return o.join("")}f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63},{}],52:[function(t,e,r){},{}],53:[function(t,M,D){(function(C){!function(t){var e="object"==typeof D&&D&&!D.nodeType&&D,r="object"==typeof M&&M&&!M.nodeType&&M,n="object"==typeof C&&C;n.global!==n&&n.window!==n&&n.self!==n||(t=n);var i,o,m=2147483647,y=36,g=1,b=26,s=38,a=700,T=72,v=128,S="-",u=/^xn--/,l=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=y-g,A=Math.floor,N=String.fromCharCode;function O(t){throw new RangeError(f[t])}function p(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function d(t,e){var r=t.split("@"),n="";return 1>>10&1023|55296),t=56320|1023&t),e+=N(t)}).join("")}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function L(t,e,r){var n=0;for(t=r?A(t/a):t>>1,t+=A(t/e);h*b>>1A((m-d)/s))&&O("overflow"),d+=u*s,!(u<(l=a<=E?g:E+b<=a?b:a-E));a+=y)s>A(m/(c=y-l))&&O("overflow"),s*=c;E=L(d-o,e=h.length+1,0==o),A(d/e)>m-_&&O("overflow"),_+=A(d/e),d%=e,h.splice(d++,0,_)}return R(h)}function E(t){var e,r,n,i,o,s,a,u,l,c,f,h,p,d,_,E=[];for(h=(t=I(t)).length,e=v,o=T,s=r=0;sA((m-r)/(p=n+1))&&O("overflow"),r+=(a-e)*p,e=a,s=0;sm&&O("overflow"),f==e){for(u=r,l=y;!(u<(c=l<=o?g:o+b<=l?b:l-o));l+=y)_=u-c,d=y-c,E.push(N(w(c+_%d,0))),u=A(_/d);E.push(N(w(u,0))),o=L(r,p,n==i),r=0,++n}++r,++e}return E.join("")}if(i={version:"1.4.1",ucs2:{decode:I,encode:R},decode:_,encode:E,toASCII:function(t){return d(t,function(t){return l.test(t)?"xn--"+E(t):t})},toUnicode:function(t){return d(t,function(t){return u.test(t)?_(t.slice(4).toLowerCase()):t})}},e&&r)if(M.exports==e)r.exports=i;else for(o in i)i.hasOwnProperty(o)&&(e[o]=i[o]);else t.punycode=i}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],54:[function(t,e,r){"use strict";var n=t("safe-buffer").Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=u,this.end=l,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=c,this.end=f,e=3;break;default:return this.write=h,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function s(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(1>>1;case"base64":return M(t).length;default:if(i)return n?-1:C(t).length;e=(""+e).toLowerCase(),i=!0}}function p(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function d(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:_(t,e,r,n,i);if("number"==typeof e)return e&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):_(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function _(t,e,r,n,i){var o,s=1,a=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a/=s=2,u/=2,r/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var c=-1;for(o=r;o>>10&1023|55296),c=56320|1023&c),n.push(c),i+=f}return function(t){var e=t.length;if(e<=b)return String.fromCharCode.apply(String,t);var r="",n=0;for(;nthis.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return S(this,e,r);case"utf8":case"utf-8":return g(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return v(this,e,r);case"base64":return y(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}.apply(this,arguments)},f.prototype.equals=function(t){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===f.compare(this,t)},f.prototype.inspect=function(){var t="",e=U.INSPECT_MAX_BYTES;return t=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(t+=" ... "),""},f.prototype.compare=function(t,e,r,n,i){if(x(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(i<=n&&r<=e)return 0;if(i<=n)return-1;if(r<=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(o,s),u=this.slice(n,i),l=t.slice(e,r),c=0;c>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||ithis.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o,s,a,u,l,c,f,h,p,d=!1;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return h=e,p=r,D(C(t,(f=this).length-h),f,h,p);case"ascii":return m(this,t,e,r);case"latin1":case"binary":return m(this,t,e,r);case"base64":return u=this,l=e,c=r,D(M(t),u,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s=e,a=r,D(function(t,e){for(var r,n,i,o=[],s=0;s>8,i=r%256,o.push(i),o.push(n);return o}(t,(o=this).length-s),o,s,a);default:if(d)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),d=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function T(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;it.length)throw new RangeError("Index out of range")}function I(t,e,r,n,i,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function R(t,e,r,n,i){return e=+e,r>>>=0,i||I(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function w(t,e,r,n,i){return e=+e,r>>>=0,i||I(t,0,r,8),o.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r=this.length;(t=~~t)<0?(t+=r)<0&&(t=0):r>>=0,e>>>=0,r||N(t,e,this.length);for(var n=this[t],i=1,o=0;++o>>=0,e>>>=0,r||N(t,e,this.length);for(var n=this[t+--e],i=1;0>>=0,e||N(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return t>>>=0,e||N(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||N(t,e,this.length);for(var n=this[t],i=1,o=0;++o>>=0,e>>>=0,r||N(t,e,this.length);for(var n=e,i=1,o=this[t+--n];0>>=0,e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){t>>>=0,e||N(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){t>>>=0,e||N(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return t>>>=0,e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return t>>>=0,e||N(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return t>>>=0,e||N(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return t>>>=0,e||N(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return t>>>=0,e||N(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e>>>=0,r>>>=0,n)||O(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o>>=0,r>>>=0,n)||O(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;0<=--i&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,1,255,0),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){var i=Math.pow(2,8*r-1);O(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;0<=--o&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||O(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},f.prototype.writeFloatLE=function(t,e,r){return R(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return R(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return w(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return w(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),0=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function M(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(e,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function x(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}function P(t){return t!=t}}).call(this,t("buffer").Buffer)},{"base64-js":51,buffer:55,ieee754:62}],56:[function(t,e,r){e.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",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",421:"Misdirected Request",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"}},{}],57:[function(t,e,r){(function(t){function e(t){return Object.prototype.toString.call(t)}r.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===e(t)},r.isBoolean=function(t){return"boolean"==typeof t},r.isNull=function(t){return null===t},r.isNullOrUndefined=function(t){return null==t},r.isNumber=function(t){return"number"==typeof t},r.isString=function(t){return"string"==typeof t},r.isSymbol=function(t){return"symbol"==typeof t},r.isUndefined=function(t){return void 0===t},r.isRegExp=function(t){return"[object RegExp]"===e(t)},r.isObject=function(t){return"object"==typeof t&&null!==t},r.isDate=function(t){return"[object Date]"===e(t)},r.isError=function(t){return"[object Error]"===e(t)||t instanceof Error},r.isFunction=function(t){return"function"==typeof t},r.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},r.isBuffer=t.isBuffer}).call(this,{isBuffer:t("../../is-buffer/index.js")})},{"../../is-buffer/index.js":64}],58:[function(t,e,r){var u=Object.create||function(t){var e=function(){};return e.prototype=t,new e},s=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return r},o=Function.prototype.bind||function(t){var e=this;return function(){return e.apply(t,arguments)}};function n(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=u(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}((e.exports=n).EventEmitter=n).prototype._events=void 0,n.prototype._maxListeners=void 0;var i,a=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),i=0===l.x}catch(t){i=!1}function c(t){return void 0===t._maxListeners?n.defaultMaxListeners:t._maxListeners}function f(t,e,r,n){var i,o,s;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((o=t._events)?(o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),s=o[e]):(o=t._events=u(null),t._eventsCount=0),s){if("function"==typeof s?s=o[e]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),!s.warned&&(i=c(t))&&0i){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(e)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",a.name,a.message)}}else s=o[e]=r,++t._eventsCount;return t}function h(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var t=new Array(arguments.length),e=0;e=this._blockSize;){for(var i=this._blockOffset;i>1,c=-7,f=r?i-1:0,h=r?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=a;0>=-c,c+=n;0>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,d=n?1:-1,_=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=c):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),2<=(e+=1<=s+f?h/u:h*Math.pow(2,1-f))*u&&(s++,u/=2),c<=s+f?(a=0,s=c):1<=s+f?(a=(e*u-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));8<=i;t[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<t.length){for(var o=0;o<=t.length-1-r;o++)this.temp_buffs[this.bytes_in_sequence][o]=t[r+o];this.bytes_remaining=r+this.bytes_in_sequence-t.length,r=t.length-1}else this.string+=t.slice(r,r+this.bytes_in_sequence).toString(),r=r+this.bytes_in_sequence-1}else if(34===e)this.tState=g,this.onToken(m,this.string),this.offset+=a.byteLength(this.string,"utf8")+1,this.string=void 0;else if(92===e)this.tState=D;else{if(!(32<=e))return this.charError(t,r);this.string+=String.fromCharCode(e)}else if(this.tState===D)if(34===(e=t[r]))this.string+='"',this.tState=M;else if(92===e)this.string+="\\",this.tState=M;else if(47===e)this.string+="/",this.tState=M;else if(98===e)this.string+="\b",this.tState=M;else if(102===e)this.string+="\f",this.tState=M;else if(110===e)this.string+="\n",this.tState=M;else if(114===e)this.string+="\r",this.tState=M;else if(116===e)this.string+="\t",this.tState=M;else{if(117!==e)return this.charError(t,r);this.unicode="",this.tState=x}else if(this.tState===x||this.tState===P||this.tState===U||this.tState===B){if(!(48<=(e=t[r])&&e<64||64>>32-e}function u(t,e,r,n,i,o,s){return a(t+(e&r|~e&n)+i+o|0,s)+e|0}function l(t,e,r,n,i,o,s){return a(t+(e&n|r&~n)+i+o|0,s)+e|0}function c(t,e,r,n,i,o,s){return a(t+(e^r^n)+i+o|0,s)+e|0}function f(t,e,r,n,i,o,s){return a(t+(r^(e|~n))+i+o|0,s)+e|0}t(n,r),n.prototype._update=function(){for(var t=s,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);var r=this._a,n=this._b,i=this._c,o=this._d;n=f(n=f(n=f(n=f(n=c(n=c(n=c(n=c(n=l(n=l(n=l(n=l(n=u(n=u(n=u(n=u(n,i=u(i,o=u(o,r=u(r,n,i,o,t[0],3614090360,7),n,i,t[1],3905402710,12),r,n,t[2],606105819,17),o,r,t[3],3250441966,22),i=u(i,o=u(o,r=u(r,n,i,o,t[4],4118548399,7),n,i,t[5],1200080426,12),r,n,t[6],2821735955,17),o,r,t[7],4249261313,22),i=u(i,o=u(o,r=u(r,n,i,o,t[8],1770035416,7),n,i,t[9],2336552879,12),r,n,t[10],4294925233,17),o,r,t[11],2304563134,22),i=u(i,o=u(o,r=u(r,n,i,o,t[12],1804603682,7),n,i,t[13],4254626195,12),r,n,t[14],2792965006,17),o,r,t[15],1236535329,22),i=l(i,o=l(o,r=l(r,n,i,o,t[1],4129170786,5),n,i,t[6],3225465664,9),r,n,t[11],643717713,14),o,r,t[0],3921069994,20),i=l(i,o=l(o,r=l(r,n,i,o,t[5],3593408605,5),n,i,t[10],38016083,9),r,n,t[15],3634488961,14),o,r,t[4],3889429448,20),i=l(i,o=l(o,r=l(r,n,i,o,t[9],568446438,5),n,i,t[14],3275163606,9),r,n,t[3],4107603335,14),o,r,t[8],1163531501,20),i=l(i,o=l(o,r=l(r,n,i,o,t[13],2850285829,5),n,i,t[2],4243563512,9),r,n,t[7],1735328473,14),o,r,t[12],2368359562,20),i=c(i,o=c(o,r=c(r,n,i,o,t[5],4294588738,4),n,i,t[8],2272392833,11),r,n,t[11],1839030562,16),o,r,t[14],4259657740,23),i=c(i,o=c(o,r=c(r,n,i,o,t[1],2763975236,4),n,i,t[4],1272893353,11),r,n,t[7],4139469664,16),o,r,t[10],3200236656,23),i=c(i,o=c(o,r=c(r,n,i,o,t[13],681279174,4),n,i,t[0],3936430074,11),r,n,t[3],3572445317,16),o,r,t[6],76029189,23),i=c(i,o=c(o,r=c(r,n,i,o,t[9],3654602809,4),n,i,t[12],3873151461,11),r,n,t[15],530742520,16),o,r,t[2],3299628645,23),i=f(i,o=f(o,r=f(r,n,i,o,t[0],4096336452,6),n,i,t[7],1126891415,10),r,n,t[14],2878612391,15),o,r,t[5],4237533241,21),i=f(i,o=f(o,r=f(r,n,i,o,t[12],1700485571,6),n,i,t[3],2399980690,10),r,n,t[10],4293915773,15),o,r,t[1],2240044497,21),i=f(i,o=f(o,r=f(r,n,i,o,t[8],1873313359,6),n,i,t[15],4264355552,10),r,n,t[6],2734768916,15),o,r,t[13],1309151649,21),i=f(i,o=f(o,r=f(r,n,i,o,t[4],4149444226,6),n,i,t[11],3174756917,10),r,n,t[2],718787259,15),o,r,t[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},n.prototype._digest=function(){this._block[this._blockOffset++]=128,56e.highWaterMark&&(e.highWaterMark=(u<=(r=t)?r=u:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),t>e.length?e.ended?e.length:(e.needReadable=!0,0):t);var r}function f(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(b("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?m(c,t):c(t))}function c(t){b("emit readable"),t.emit("readable"),T(t)}function p(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length=e.highWaterMark||e.ended))return b("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?S(this):f(this),null;if(0===(t=l(t,e))&&e.ended)return 0===e.length&&S(this),null;var n,i=e.needReadable;return b("need readable",i),(0===e.length||e.length-t"===n?(A(e,"onsgmldeclaration",e.sgmlDecl),e.sgmlDecl="",e.state=v.TEXT):(b(f,n)&&(e.state=v.SGML_DECL_QUOTED),e.sgmlDecl+=n);continue;case v.SGML_DECL_QUOTED:n===e.q&&(e.state=v.SGML_DECL,e.q=""),e.sgmlDecl+=n;continue;case v.DOCTYPE:">"===n?(e.state=v.TEXT,A(e,"ondoctype",e.doctype),e.doctype=!0):(e.doctype+=n,"["===n?e.state=v.DOCTYPE_DTD:b(f,n)&&(e.state=v.DOCTYPE_QUOTED,e.q=n));continue;case v.DOCTYPE_QUOTED:e.doctype+=n,n===e.q&&(e.q="",e.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:e.doctype+=n,"]"===n?e.state=v.DOCTYPE:b(f,n)&&(e.state=v.DOCTYPE_DTD_QUOTED,e.q=n);continue;case v.DOCTYPE_DTD_QUOTED:e.doctype+=n,n===e.q&&(e.state=v.DOCTYPE_DTD,e.q="");continue;case v.COMMENT:"-"===n?e.state=v.COMMENT_ENDING:e.comment+=n;continue;case v.COMMENT_ENDING:"-"===n?(e.state=v.COMMENT_ENDED,e.comment=O(e.opt,e.comment),e.comment&&A(e,"oncomment",e.comment),e.comment=""):(e.comment+="-"+n,e.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==n?(w(e,"Malformed comment"),e.comment+="--"+n,e.state=v.COMMENT):e.state=v.TEXT;continue;case v.CDATA:"]"===n?e.state=v.CDATA_ENDING:e.cdata+=n;continue;case v.CDATA_ENDING:"]"===n?e.state=v.CDATA_ENDING_2:(e.cdata+="]"+n,e.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===n?(e.cdata&&A(e,"oncdata",e.cdata),A(e,"onclosecdata"),e.cdata="",e.state=v.TEXT):"]"===n?e.cdata+="]":(e.cdata+="]]"+n,e.state=v.CDATA);continue;case v.PROC_INST:"?"===n?e.state=v.PROC_INST_ENDING:b(c,n)?e.state=v.PROC_INST_BODY:e.procInstName+=n;continue;case v.PROC_INST_BODY:if(!e.procInstBody&&b(c,n))continue;"?"===n?e.state=v.PROC_INST_ENDING:e.procInstBody+=n;continue;case v.PROC_INST_ENDING:">"===n?(A(e,"onprocessinginstruction",{name:e.procInstName,body:e.procInstBody}),e.procInstName=e.procInstBody="",e.state=v.TEXT):(e.procInstBody+="?"+n,e.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:b(g,n)?e.tagName+=n:(L(e),">"===n?D(e):"/"===n?e.state=v.OPEN_TAG_SLASH:(T(c,n)&&w(e,"Invalid character in tag name"),e.state=v.ATTRIB));continue;case v.OPEN_TAG_SLASH:">"===n?(D(e,!0),x(e)):(w(e,"Forward-slash in opening tag not followed by >"),e.state=v.ATTRIB);continue;case v.ATTRIB:if(b(c,n))continue;">"===n?D(e):"/"===n?e.state=v.OPEN_TAG_SLASH:b(y,n)?(e.attribName=n,e.attribValue="",e.state=v.ATTRIB_NAME):w(e,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===n?e.state=v.ATTRIB_VALUE:">"===n?(w(e,"Attribute without value"),e.attribValue=e.attribName,M(e),D(e)):b(c,n)?e.state=v.ATTRIB_NAME_SAW_WHITE:b(g,n)?e.attribName+=n:w(e,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===n)e.state=v.ATTRIB_VALUE;else{if(b(c,n))continue;w(e,"Attribute without value"),e.tag.attributes[e.attribName]="",e.attribValue="",A(e,"onattribute",{name:e.attribName,value:""}),e.attribName="",">"===n?D(e):b(y,n)?(e.attribName=n,e.state=v.ATTRIB_NAME):(w(e,"Invalid attribute name"),e.state=v.ATTRIB)}continue;case v.ATTRIB_VALUE:if(b(c,n))continue;b(f,n)?(e.q=n,e.state=v.ATTRIB_VALUE_QUOTED):(w(e,"Unquoted attribute value"),e.state=v.ATTRIB_VALUE_UNQUOTED,e.attribValue=n);continue;case v.ATTRIB_VALUE_QUOTED:if(n!==e.q){"&"===n?e.state=v.ATTRIB_VALUE_ENTITY_Q:e.attribValue+=n;continue}M(e),e.q="",e.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:b(c,n)?e.state=v.ATTRIB:">"===n?D(e):"/"===n?e.state=v.OPEN_TAG_SLASH:b(y,n)?(w(e,"No whitespace between attributes"),e.attribName=n,e.attribValue="",e.state=v.ATTRIB_NAME):w(e,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(T(p,n)){"&"===n?e.state=v.ATTRIB_VALUE_ENTITY_U:e.attribValue+=n;continue}M(e),">"===n?D(e):e.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(e.tagName)">"===n?x(e):b(g,n)?e.tagName+=n:e.script?(e.script+=""===n?x(e):w(e,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:switch(e.state){case v.TEXT_ENTITY:var s=v.TEXT,a="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:var s=v.ATTRIB_VALUE_QUOTED,a="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:var s=v.ATTRIB_VALUE_UNQUOTED,a="attribValue"}";"===n?(e[a]+=P(e),e.entity="",e.state=s):b(h,n)?e.entity+=n:(w(e,"Invalid character entity"),e[a]+="&"+e.entity+n,e.entity="",e.state=s);continue;default:throw new Error(e,"Unknown state: "+e.state)}e.position>=e.bufferCheckPosition&&function(t){for(var e=Math.max(u.MAX_BUFFER_LENGTH,10),r=0,n=0,i=l.length;n",d="[CDATA[",_="DOCTYPE",a="http://www.w3.org/XML/1998/namespace",E="http://www.w3.org/2000/xmlns/",m={xml:a,xmlns:E};c=r(c),t=r(t),e=r(e);var y=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,g=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;function r(t){return t.split("").reduce(function(t,e){return t[e]=!0,t},{})}function b(t,e){return r=t,"[object RegExp]"===Object.prototype.toString.call(r)?!!e.match(t):t[e];var r}function T(t,e){return!b(t,e)}f=r(f),h=r(h),p=r(p);var v=0;for(var v in u.STATE={BEGIN:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++,ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++},u.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(u.ENTITIES).forEach(function(t){var e=u.ENTITIES[t],r="number"==typeof e?String.fromCharCode(e):e;u.ENTITIES[t]=r}),u.STATE)u.STATE[u.STATE[v]]=v;function S(t,e,r){t[e]&&t[e](r)}function A(t,e,r){t.textNode&&N(t),S(t,e,r)}function N(t){t.textNode=O(t.opt,t.textNode),t.textNode&&S(t,"ontext",t.textNode),t.textNode=""}function O(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function I(t,e){return N(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,S(t,"onerror",e),t}function R(t){return t.closedRoot||w(t,"Unclosed root tag"),t.state!==v.BEGIN&&t.state!==v.TEXT&&I(t,"Unexpected end"),N(t),t.c="",t.closed=!0,S(t,"onend"),n.call(t,t.strict,t.opt),t}function w(t,e){if("object"!=typeof t||!(t instanceof n))throw new Error("bad call to strictFail");t.strict&&I(t,e)}function L(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,r=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(r.ns=e.ns),t.attribList.length=0}function C(t,e){var r=t.indexOf(":")<0?["",t]:t.split(":"),n=r[0],i=r[1];return e&&"xmlns"===t&&(n="xmlns",i=""),{prefix:n,local:i}}function M(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))return t.attribName=t.attribValue="";if(t.opt.xmlns){var e=C(t.attribName,!0),r=e.prefix,n=e.local;if("xmlns"===r)if("xml"===n&&t.attribValue!==a)w(t,"xml: prefix must be bound to "+a+"\nActual: "+t.attribValue);else if("xmlns"===n&&t.attribValue!==E)w(t,"xmlns: prefix must be bound to "+E+"\nActual: "+t.attribValue);else{var i=t.tag,o=t.tags[t.tags.length-1]||t;i.ns===o.ns&&(i.ns=Object.create(o.ns)),i.ns[n]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,A(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}function D(e,t){if(e.opt.xmlns){var r=e.tag,n=C(e.tagName);r.prefix=n.prefix,r.local=n.local,r.uri=r.ns[n.prefix]||"",r.prefix&&!r.uri&&(w(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),r.uri=n.prefix);var i=e.tags[e.tags.length-1]||e;r.ns&&i.ns!==r.ns&&Object.keys(r.ns).forEach(function(t){A(e,"onopennamespace",{prefix:t,uri:r.ns[t]})});for(var o=0,s=e.attribList.length;o",r.tagName="",void(r.state=v.SCRIPT);A(r,"onscript",r.script),r.script=""}var t=r.tags.length,e=r.tagName;r.strict||(e=e[r.looseCase]());for(var n=e;t--;){if(r.tags[t].name===n)break;w(r,"Unexpected close tag")}if(t<0)return w(r,"Unmatched closing tag: "+r.tagName),r.textNode+="",void(r.state=v.TEXT);r.tagName=e;for(var i=r.tags.length;i-- >t;){var o=r.tag=r.tags.pop();r.tagName=r.tag.name,A(r,"onclosetag",r.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var u=r.tags[r.tags.length-1]||r;r.opt.xmlns&&o.ns!==u.ns&&Object.keys(o.ns).forEach(function(t){var e=o.ns[t];A(r,"onclosenamespace",{prefix:t,uri:e})})}0===t&&(r.closedRoot=!0),r.tagName=r.attribValue=r.attribName="",r.attribList.length=0,r.state=v.TEXT}function P(t){var e,r=t.entity,n=r.toLowerCase(),i="";return t.ENTITIES[r]?t.ENTITIES[r]:t.ENTITIES[n]?t.ENTITIES[n]:("#"===(r=n).charAt(0)&&("x"===r.charAt(1)?(r=r.slice(2),i=(e=parseInt(r,16)).toString(16)):(r=r.slice(1),i=(e=parseInt(r,10)).toString(10))),r=r.replace(/^0+/,""),i.toLowerCase()!==r?(w(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCharCode(e))}v=u.STATE}(void 0===e?sax={}:e)}).call(this,B("buffer").Buffer)},{buffer:55,stream:87,string_decoder:54}],87:[function(t,e,r){e.exports=n;var c=t("events").EventEmitter;function n(){c.call(this)}t("inherits")(n,c),n.Readable=t("readable-stream/readable.js"),n.Writable=t("readable-stream/writable.js"),n.Duplex=t("readable-stream/duplex.js"),n.Transform=t("readable-stream/transform.js"),n.PassThrough=t("readable-stream/passthrough.js"),(n.Stream=n).prototype.pipe=function(e,t){var r=this;function n(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function i(){r.readable&&r.resume&&r.resume()}r.on("data",n),e.on("drain",i),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",a));var o=!1;function s(){o||(o=!0,e.end())}function a(){o||(o=!0,"function"==typeof e.destroy&&e.destroy())}function u(t){if(l(),0===c.listenerCount(this,"error"))throw t}function l(){r.removeListener("data",n),e.removeListener("drain",i),r.removeListener("end",s),r.removeListener("close",a),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",l),r.removeListener("close",l),e.removeListener("close",l)}return r.on("error",u),e.on("error",u),r.on("end",l),r.on("close",l),e.on("close",l),e.emit("pipe",r),e}},{events:58,inherits:63,"readable-stream/duplex.js":75,"readable-stream/passthrough.js":81,"readable-stream/readable.js":82,"readable-stream/transform.js":83,"readable-stream/writable.js":84}],88:[function(r,t,i){(function(u){var l=r("./lib/request"),t=r("./lib/response"),c=r("xtend"),e=r("builtin-status-codes"),f=r("url"),n=i;n.request=function(t,e){t="string"==typeof t?f.parse(t):c(t);var r=-1===u.location.protocol.search(/^https?:$/)?"http:":"",n=t.protocol||r,i=t.hostname||t.host,o=t.port,s=t.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),t.url=(i?n+"//"+i:"")+(o?":"+o:"")+s,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var a=new l(t);return e&&a.on("response",e),a},n.get=function(t,e){var r=n.request(t,e);return r.end(),r},n.ClientRequest=l,n.IncomingMessage=t.IncomingMessage,n.Agent=function(){},n.Agent.defaultMaxSockets=4,n.globalAgent=new n.Agent,n.STATUS_CODES=e,n.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":90,"./lib/response":91,"builtin-status-codes":56,url:111,xtend:216}],89:[function(t,e,o){(function(t){var e;function r(){if(void 0!==e)return e;if(t.XMLHttpRequest){e=new t.XMLHttpRequest;try{e.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(t){e=null}}else e=null;return e}function n(t){var e=r();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}function i(t){return"function"==typeof t}o.fetch=i(t.fetch)&&i(t.ReadableStream),o.writableStream=i(t.WritableStream),o.abortController=i(t.AbortController),o.arraybuffer=o.fetch||n("arraybuffer"),o.msstream=!o.fetch&&n("ms-stream"),o.mozchunkedarraybuffer=!o.fetch&&n("moz-chunked-arraybuffer"),o.overrideMimeType=o.fetch||!!r()&&i(r().overrideMimeType),e=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],90:[function(o,h,t){(function(u,l,s){var c=o("./capability"),t=o("inherits"),e=o("./response"),a=o("readable-stream"),r=e.IncomingMessage,f=e.readyStates;var n=h.exports=function(e){var t,r=this;a.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+s.from(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var n,i,o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!c.abortController)t=!(o=!1);else if("prefer-streaming"===e.mode)t=!1;else if("allow-wrong-content-type"===e.mode)t=!c.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");t=!0}r._mode=(n=t,i=o,c.fetch&&i?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&n?"arraybuffer":"text"),r._fetchTimer=null,r.on("finish",function(){r._onFinish()})};t(n,a.Writable),n.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===i.indexOf(r)&&(this._headers[r]={name:t,value:e})},n.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},n.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},n.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,n=e._headers,r=null;"GET"!==t.method&&"HEAD"!==t.method&&(r=new Blob(e._body,{type:(n["content-type"]||{}).value||""}));var i=[];if(Object.keys(n).forEach(function(t){var e=n[t].name,r=n[t].value;Array.isArray(r)?r.forEach(function(t){i.push([e,t])}):i.push([e,r])}),"fetch"===e._mode){var o=null;if(c.abortController){var s=new AbortController;o=s.signal,e._fetchAbortController=s,"requestTimeout"in t&&0!==t.requestTimeout&&(e._fetchTimer=l.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},t.requestTimeout))}l.fetch(e._opts.url,{method:e._opts.method,headers:i,body:r||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin",signal:o}).then(function(t){e._fetchResponse=t,e._connect()},function(t){l.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var a=e._xhr=new l.XMLHttpRequest;try{a.open(e._opts.method,e._opts.url,!0)}catch(t){return void u.nextTick(function(){e.emit("error",t)})}"responseType"in a&&(a.responseType=e._mode),"withCredentials"in a&&(a.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in a&&a.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in t&&(a.timeout=t.requestTimeout,a.ontimeout=function(){e.emit("requestTimeout")}),i.forEach(function(t){a.setRequestHeader(t[0],t[1])}),e._response=null,a.onreadystatechange=function(){switch(a.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(a.onprogress=function(){e._onXHRProgress()}),a.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{a.send(r)}catch(t){return void u.nextTick(function(){e.emit("error",t)})}}}},n.prototype._onXHRProgress=function(){(function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},n.prototype._connect=function(){var e=this;e._destroyed||(e._response=new r(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},n.prototype._write=function(t,e,r){this._body.push(t),r()},n.prototype.abort=n.prototype.destroy=function(){this._destroyed=!0,l.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},n.prototype.end=function(t,e,r){"function"==typeof t&&(r=t,t=void 0),a.Writable.prototype.end.call(this,t,e,r)},n.prototype.flushHeaders=function(){},n.prototype.setTimeout=function(){},n.prototype.setNoDelay=function(){},n.prototype.setSocketKeepAlive=function(){};var i=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,o("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},o("buffer").Buffer)},{"./capability":89,"./response":91,_process:71,buffer:55,inherits:63,"readable-stream":106}],91:[function(r,t,n){(function(l,c,f){var h=r("./capability"),t=r("inherits"),p=r("readable-stream"),a=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},e=n.IncomingMessage=function(t,e,r,n){var i=this;if(p.Readable.call(i),i._mode=r,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){l.nextTick(function(){i.emit("close")})}),"fetch"===r){if(i._fetchResponse=e,i.url=e.url,i.statusCode=e.status,i.statusMessage=e.statusText,e.headers.forEach(function(t,e){i.headers[e.toLowerCase()]=t,i.rawHeaders.push(e,t)}),h.writableStream){var o=new WritableStream({write:function(r){return new Promise(function(t,e){i._destroyed?e():i.push(f.from(r))?t():i._resumeFetch=t})},close:function(){c.clearTimeout(n),i._destroyed||i.push(null)},abort:function(t){i._destroyed||i.emit("error",t)}});try{return void e.body.pipeTo(o).catch(function(t){c.clearTimeout(n),i._destroyed||i.emit("error",t)})}catch(t){}}var s=e.body.getReader();!function e(){s.read().then(function(t){if(!i._destroyed){if(t.done)return c.clearTimeout(n),void i.push(null);i.push(f.from(t.value)),e()}}).catch(function(t){c.clearTimeout(n),i._destroyed||i.emit("error",t)})}()}else{if(i._xhr=t,i._pos=0,i.url=t.responseURL,i.statusCode=t.status,i.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var r=e[1].toLowerCase();"set-cookie"===r?(void 0===i.headers[r]&&(i.headers[r]=[]),i.headers[r].push(e[2])):void 0!==i.headers[r]?i.headers[r]+=", "+e[2]:i.headers[r]=e[2],i.rawHeaders.push(e[1],e[2])}}),i._charset="x-user-defined",!h.overrideMimeType){var a=i.rawHeaders["mime-type"];if(a){var u=a.match(/;\s*charset=([^;])(;|$)/);u&&(i._charset=u[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};t(e,p.Readable),e.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},e.prototype._onXHRProgress=function(){var t=this,e=t._xhr,r=null;switch(t._mode){case"text":if((r=e.responseText).length>t._pos){var n=r.substr(t._pos);if("x-user-defined"===t._charset){for(var i=f.alloc(n.length),o=0;ot._pos&&(t.push(f.from(new Uint8Array(s.result.slice(t._pos)))),t._pos=s.result.byteLength)},s.onload=function(){t.push(null)},s.readAsArrayBuffer(r)}t._xhr.readyState===a.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,r("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},r("buffer").Buffer)},{"./capability":89,_process:71,buffer:55,inherits:63,"readable-stream":106}],92:[function(t,e,r){"use strict";var n={};function i(t,a,e){e||(e=Error);var r=function(s){var t,e;function r(t,e,r){return s.call(this,(n=t,i=e,o=r,"string"==typeof a?a:a(n,i,o)))||this;var n,i,o}return e=s,(t=r).prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e,r}(e);r.prototype.name=e.name,r.prototype.code=t,n[t]=r}function d(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map(function(t){return String(t)}),2c.length)&&(h=c.length),c.substring(h-f.length,h)===f)s="The ".concat(t," ").concat(n," ").concat(d(e,"type"));else{var p=("number"!=typeof l&&(l=0),l+(u=".").length>(a=t).length||-1===a.indexOf(u,l)?"argument":"property");s='The "'.concat(t,'" ').concat(p," ").concat(n," ").concat(d(e,"type"))}return s+=". Received type ".concat(typeof r)},TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",function(t){return"The "+t+" method is not implemented"}),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",function(t){return"Cannot call "+t+" after a stream was destroyed"}),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",function(t){return"Unknown encoding: "+t},TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},{}],93:[function(t,e,r){(function(r){"use strict";var n=new Set;e.exports.emitExperimentalWarning=r.emitWarning?function(t){if(!n.has(t)){var e=t+" is an experimental feature. This feature could change at any time";n.add(t),r.emitWarning(e,"ExperimentalWarning")}}:function(){}}).call(this,t("_process"))},{_process:71}],94:[function(c,f,t){(function(t){"use strict";var e=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};f.exports=a;var r=c("./_stream_readable"),n=c("./_stream_writable");c("inherits")(a,r);for(var i=e(n.prototype),o=0;oe.highWaterMark&&(e.highWaterMark=(N<=(r=t)?r=N:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0));var r}function I(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(m("emitReadable",e.flowing),e.emittedReadable=!0,_.nextTick(R,t))}function R(t){var e=t._readableState;m("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||t.emit("readable"),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,x(t)}function w(t,e){e.readingMore||(e.readingMore=!0,_.nextTick(L,t,e))}function L(t,e){for(;!e.reading&&!e.ended&&(e.length=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function U(t){var e=t._readableState;m("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,_.nextTick(B,e,t))}function B(t,e){m("endReadableNT",t.endEmitted,t.length),t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function F(t,e){for(var r=0,n=t.length;r=e.highWaterMark:0>>0),o=this.head,s=0;o;)e=o.data,r=i,n=s,a.prototype.copy.call(e,r,n),s+=o.data.length,o=o.next;return i},e.consume=function(t,e){var r;return ti.length?i.length:t;if(o===i.length?n+=i:n+=i.slice(0,t),0===(t-=o)){o===i.length?(++r,e.next?this.head=e.next:this.head=this.tail=null):(this.head=e).data=i.slice(o);break}++r}return this.length-=r,n},e._getBuffer=function(t){var e=a.allocUnsafe(t),r=this.head,n=1;for(r.data.copy(e),t-=r.data.length;r=r.next;){var i=r.data,o=t>i.length?i.length:t;if(i.copy(e,e.length-t,0,o),0===(t-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r).data=i.slice(o);break}++n}return this.length-=n,e},e[i]=function(t,e){return n(this,function(i){for(var t=1;t=this.charLength-this.charReceived?this.charLength-this.charReceived:t.length;if(t.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived>5==6){this.charLength=2;break}if(e<=2&&r>>4==14){this.charLength=3;break}if(e<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=e},o.prototype.end=function(t){var e="";if(t&&t.length&&(e=this.write(t)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;e+=n.slice(0,r).toString(i)}return e}},{buffer:55}],109:[function(u,t,l){(function(t,e){var n=u("process/browser.js").nextTick,r=Function.prototype.apply,i=Array.prototype.slice,o={},s=0;function a(t,e){this._id=t,this._clearFn=e}l.setTimeout=function(){return new a(r.call(setTimeout,window,arguments),clearTimeout)},l.setInterval=function(){return new a(r.call(setInterval,window,arguments),clearInterval)},l.clearTimeout=l.clearInterval=function(t){t.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},l.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},l.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},l._unrefActive=l.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},l.setImmediate="function"==typeof t?t:function(t){var e=s++,r=!(arguments.length<2)&&i.call(arguments,1);return o[e]=!0,n(function(){o[e]&&(r?t.apply(null,r):t.call(null),l.clearImmediate(e))}),e},l.clearImmediate="function"==typeof e?e:function(t){delete o[t]}}).call(this,u("timers").setImmediate,u("timers").clearImmediate)},{"process/browser.js":71,timers:109}],110:[function(t,V,G){(function(){var t=this,e=t._,n=Array.prototype,s=Object.prototype,r=Function.prototype,i=n.push,u=n.slice,f=s.toString,o=s.hasOwnProperty,a=Array.isArray,l=Object.keys,c=r.bind,h=Object.create,p=function(){},d=function(t){return t instanceof d?t:this instanceof d?void(this._wrapped=t):new d(t)};void 0!==G?(void 0!==V&&V.exports&&(G=V.exports=d),G._=d):t._=d,d.VERSION="1.8.3";var _=function(i,o,t){if(void 0===o)return i;switch(null==t?3:t){case 1:return function(t){return i.call(o,t)};case 2:return function(t,e){return i.call(o,t,e)};case 3:return function(t,e,r){return i.call(o,t,e,r)};case 4:return function(t,e,r,n){return i.call(o,t,e,r,n)}}return function(){return i.apply(o,arguments)}},E=function(t,e,r){return null==t?d.identity:d.isFunction(t)?_(t,e,r):d.isObject(t)?d.matcher(t):d.property(t)};d.iteratee=function(t,e){return E(t,e,1/0)};var m=function(u,l){return function(t){var e=arguments.length;if(e<2||null==t)return t;for(var r=1;r":">",'"':""","'":"'","`":"`"},x=d.invert(D),P=function(e){var r=function(t){return e[t]},t="(?:"+d.keys(e).join("|")+")",n=RegExp(t),i=RegExp(t,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(i,r):t}};d.escape=P(D),d.unescape=P(x),d.result=function(t,e,r){var n=null==t?void 0:t[e];return void 0===n&&(n=r),d.isFunction(n)?n.call(t):n};var U=0;d.uniqueId=function(t){var e=++U+"";return t?t+e:e},d.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var B=/(.)^/,F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},k=/\\|'|\r|\n|\u2028|\u2029/g,j=function(t){return"\\"+F[t]};d.template=function(o,t,e){!t&&e&&(t=e),t=d.defaults({},t,d.templateSettings);var r=RegExp([(t.escape||B).source,(t.interpolate||B).source,(t.evaluate||B).source].join("|")+"|$","g"),s=0,a="__p+='";o.replace(r,function(t,e,r,n,i){return a+=o.slice(s,i).replace(k,j),s=i+t.length,e?a+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":n&&(a+="';\n"+n+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{var n=new Function(t.variable||"obj","_",a)}catch(t){throw t.source=a,t}var i=function(t){return n.call(this,t,d)},u=t.variable||"obj";return i.source="function("+u+"){\n"+a+"}",i},d.chain=function(t){var e=d(t);return e._chain=!0,e};var H=function(t,e){return t._chain?d(e).chain():e};d.mixin=function(r){d.each(d.functions(r),function(t){var e=d[t]=r[t];d.prototype[t]=function(){var t=[this._wrapped];return i.apply(t,arguments),H(this,e.apply(d,t))}})},d.mixin(d),d.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var r=n[e];d.prototype[e]=function(){var t=this._wrapped;return r.apply(t,arguments),"shift"!==e&&"splice"!==e||0!==t.length||delete t[0],H(this,t)}}),d.each(["concat","join","slice"],function(t){var e=n[t];d.prototype[t]=function(){return H(this,e.apply(this._wrapped,arguments))}}),d.prototype.value=function(){return this._wrapped},d.prototype.valueOf=d.prototype.toJSON=d.prototype.value,d.prototype.toString=function(){return""+this._wrapped}}).call(this)},{}],111:[function(t,e,r){"use strict";var D=t("punycode"),x=t("./util");function I(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}r.parse=o,r.resolve=function(t,e){return o(t,!1,!0).resolve(e)},r.resolveObject=function(t,e){return t?o(t,!1,!0).resolveObject(e):e},r.format=function(t){x.isString(t)&&(t=o(t));return t instanceof I?t.format():I.prototype.format.call(t)},r.Url=I;var P=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,U=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),B=["'"].concat(i),F=["%","/","?",";","#"].concat(B),k=["/","?","#"],j=/^[+a-z0-9A-Z_-]{0,63}$/,H=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,V={javascript:!0,"javascript:":!0},G={javascript:!0,"javascript:":!0},Y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},q=t("querystring");function o(t,e,r){if(t&&x.isObject(t)&&t instanceof I)return t;var n=new I;return n.parse(t,e,r),n}I.prototype.parse=function(t,e,r){if(!x.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n>>((3&e)<<3)&255;return o}}},{}],120:[function(t,e,r){var d,_,E=t("./lib/rng"),m=t("./lib/bytesToUuid"),y=0,g=0;e.exports=function(t,e,r){var n=e&&r||0,i=e||[],o=(t=t||{}).node||d,s=void 0!==t.clockseq?t.clockseq:_;if(null==o||null==s){var a=E();null==o&&(o=d=[1|a[0],a[1],a[2],a[3],a[4],a[5]]),null==s&&(s=_=16383&(a[6]<<8|a[7]))}var u=void 0!==t.msecs?t.msecs:(new Date).getTime(),l=void 0!==t.nsecs?t.nsecs:g+1,c=u-y+(l-g)/1e4;if(c<0&&void 0===t.clockseq&&(s=s+1&16383),(c<0||y>>24&255,i[n++]=f>>>16&255,i[n++]=f>>>8&255,i[n++]=255&f;var h=u/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=255&h,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=s>>>8|128,i[n++]=255&s;for(var p=0;p<6;++p)i[n+p]=o[p];return e||m(i)}},{"./lib/bytesToUuid":118,"./lib/rng":119}],121:[function(t,e,r){var s=t("./lib/rng"),a=t("./lib/bytesToUuid");e.exports=function(t,e,r){var n=e&&r||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||s)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var o=0;o<16;++o)e[n+o]=i[o];return e||a(i)}},{"./lib/bytesToUuid":118,"./lib/rng":119}],122:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=Et(t("./lib/toDate")),i=Et(t("./lib/toFloat")),o=Et(t("./lib/toInt")),s=Et(t("./lib/toBoolean")),a=Et(t("./lib/equals")),u=Et(t("./lib/contains")),l=Et(t("./lib/matches")),c=Et(t("./lib/isEmail")),f=Et(t("./lib/isURL")),h=Et(t("./lib/isMACAddress")),p=Et(t("./lib/isIP")),d=Et(t("./lib/isFQDN")),_=Et(t("./lib/isBoolean")),E=Et(t("./lib/isAlpha")),m=Et(t("./lib/isAlphanumeric")),y=Et(t("./lib/isNumeric")),g=Et(t("./lib/isPort")),b=Et(t("./lib/isLowercase")),T=Et(t("./lib/isUppercase")),v=Et(t("./lib/isAscii")),S=Et(t("./lib/isFullWidth")),A=Et(t("./lib/isHalfWidth")),N=Et(t("./lib/isVariableWidth")),O=Et(t("./lib/isMultibyte")),I=Et(t("./lib/isSurrogatePair")),R=Et(t("./lib/isInt")),w=Et(t("./lib/isFloat")),L=Et(t("./lib/isDecimal")),C=Et(t("./lib/isHexadecimal")),M=Et(t("./lib/isDivisibleBy")),D=Et(t("./lib/isHexColor")),x=Et(t("./lib/isISRC")),P=Et(t("./lib/isMD5")),U=Et(t("./lib/isHash")),B=Et(t("./lib/isJSON")),F=Et(t("./lib/isEmpty")),k=Et(t("./lib/isLength")),j=Et(t("./lib/isByteLength")),H=Et(t("./lib/isUUID")),V=Et(t("./lib/isMongoId")),G=Et(t("./lib/isAfter")),Y=Et(t("./lib/isBefore")),q=Et(t("./lib/isIn")),X=Et(t("./lib/isCreditCard")),W=Et(t("./lib/isISIN")),K=Et(t("./lib/isISBN")),z=Et(t("./lib/isISSN")),$=Et(t("./lib/isMobilePhone")),Q=Et(t("./lib/isCurrency")),Z=Et(t("./lib/isISO8601")),J=Et(t("./lib/isISO31661Alpha2")),tt=Et(t("./lib/isBase64")),et=Et(t("./lib/isDataURI")),rt=Et(t("./lib/isMimeType")),nt=Et(t("./lib/isLatLong")),it=Et(t("./lib/isPostalCode")),ot=Et(t("./lib/ltrim")),st=Et(t("./lib/rtrim")),at=Et(t("./lib/trim")),ut=Et(t("./lib/escape")),lt=Et(t("./lib/unescape")),ct=Et(t("./lib/stripLow")),ft=Et(t("./lib/whitelist")),ht=Et(t("./lib/blacklist")),pt=Et(t("./lib/isWhitelisted")),dt=Et(t("./lib/normalizeEmail")),_t=Et(t("./lib/util/toString"));function Et(t){return t&&t.__esModule?t:{default:t}}var mt={version:"9.4.1",toDate:n.default,toFloat:i.default,toInt:o.default,toBoolean:s.default,equals:a.default,contains:u.default,matches:l.default,isEmail:c.default,isURL:f.default,isMACAddress:h.default,isIP:p.default,isFQDN:d.default,isBoolean:_.default,isAlpha:E.default,isAlphanumeric:m.default,isNumeric:y.default,isPort:g.default,isLowercase:b.default,isUppercase:T.default,isAscii:v.default,isFullWidth:S.default,isHalfWidth:A.default,isVariableWidth:N.default,isMultibyte:O.default,isSurrogatePair:I.default,isInt:R.default,isFloat:w.default,isDecimal:L.default,isHexadecimal:C.default,isDivisibleBy:M.default,isHexColor:D.default,isISRC:x.default,isMD5:P.default,isHash:U.default,isJSON:B.default,isEmpty:F.default,isLength:k.default,isByteLength:j.default,isUUID:H.default,isMongoId:V.default,isAfter:G.default,isBefore:Y.default,isIn:q.default,isCreditCard:X.default,isISIN:W.default,isISBN:K.default,isISSN:z.default,isMobilePhone:$.default,isPostalCode:it.default,isCurrency:Q.default,isISO8601:Z.default,isISO31661Alpha2:J.default,isBase64:tt.default,isDataURI:et.default,isMimeType:rt.default,isLatLong:nt.default,ltrim:ot.default,rtrim:st.default,trim:at.default,escape:ut.default,unescape:lt.default,stripLow:ct.default,whitelist:ft.default,blacklist:ht.default,isWhitelisted:pt.default,normalizeEmail:dt.default,toString:_t.default};r.default=mt,e.exports=r.default},{"./lib/blacklist":124,"./lib/contains":125,"./lib/equals":126,"./lib/escape":127,"./lib/isAfter":128,"./lib/isAlpha":129,"./lib/isAlphanumeric":130,"./lib/isAscii":131,"./lib/isBase64":132,"./lib/isBefore":133,"./lib/isBoolean":134,"./lib/isByteLength":135,"./lib/isCreditCard":136,"./lib/isCurrency":137,"./lib/isDataURI":138,"./lib/isDecimal":139,"./lib/isDivisibleBy":140,"./lib/isEmail":141,"./lib/isEmpty":142,"./lib/isFQDN":143,"./lib/isFloat":144,"./lib/isFullWidth":145,"./lib/isHalfWidth":146,"./lib/isHash":147,"./lib/isHexColor":148,"./lib/isHexadecimal":149,"./lib/isIP":150,"./lib/isISBN":151,"./lib/isISIN":152,"./lib/isISO31661Alpha2":153,"./lib/isISO8601":154,"./lib/isISRC":155,"./lib/isISSN":156,"./lib/isIn":157,"./lib/isInt":158,"./lib/isJSON":159,"./lib/isLatLong":160,"./lib/isLength":161,"./lib/isLowercase":162,"./lib/isMACAddress":163,"./lib/isMD5":164,"./lib/isMimeType":165,"./lib/isMobilePhone":166,"./lib/isMongoId":167,"./lib/isMultibyte":168,"./lib/isNumeric":169,"./lib/isPort":170,"./lib/isPostalCode":171,"./lib/isSurrogatePair":172,"./lib/isURL":173,"./lib/isUUID":174,"./lib/isUppercase":175,"./lib/isVariableWidth":176,"./lib/isWhitelisted":177,"./lib/ltrim":178,"./lib/matches":179,"./lib/normalizeEmail":180,"./lib/rtrim":181,"./lib/stripLow":182,"./lib/toBoolean":183,"./lib/toDate":184,"./lib/toFloat":185,"./lib/toInt":186,"./lib/trim":187,"./lib/unescape":188,"./lib/util/toString":191,"./lib/whitelist":192}],123:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});for(var n,i=r.alpha={"en-US":/^[A-Z]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ω]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/},o=r.alphanumeric={"en-US":/^[0-9A-Z]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/},s=r.decimal={"en-US":".",ar:"٫"},a=r.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"],u=0;u/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./util/assertString":189}],128:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){var e=1$/i,E=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,y=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=r.default},{"./isByteLength":135,"./isFQDN":143,"./util/assertString":189,"./util/merge":190}],142:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),0===t.length};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./util/assertString":189}],143:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e){(0,s.default)(t),(e=(0,a.default)(e,u)).allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));var r=t.split(".");if(e.require_tld){var n=r.pop();if(!r.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(n))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(n))return!1}for(var i,o=0;o=e.min)&&(!e.hasOwnProperty("max")||t<=e.max)&&(!e.hasOwnProperty("lt")||te.gt)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n},s=t("./alpha");e.exports=r.default},{"./alpha":123,"./util/assertString":189}],145:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.fullWidth=void 0,r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=r.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},{"./util/assertString":189}],146:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.halfWidth=void 0,r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=r.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},{"./util/assertString":189}],147:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e){return(0,o.default)(t),new RegExp("^[a-f0-9]{"+s[e]+"}$").test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=r.default},{"./util/assertString":189}],148:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;e.exports=r.default},{"./util/assertString":189}],149:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^[0-9A-F]+$/i;e.exports=r.default},{"./util/assertString":189}],150:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function t(e){var r=1a)return!1;if("::"===e)return!0;"::"===e.substr(0,2)?(i.shift(),i.shift(),o=!0):"::"===e.substr(e.length-2)&&(i.pop(),i.pop(),o=!0);for(var u=0;u=e.min,i=!e.hasOwnProperty("max")||t<=e.max,o=!e.hasOwnProperty("lt")||te.gt;return r.test(t)&&n&&i&&o&&s};var n,i=t("./util/assertString"),a=(n=i)&&n.__esModule?n:{default:n};var u=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,l=/^[-+]?[0-9]+$/;e.exports=r.default},{"./util/assertString":189}],159:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r.default=function(t){(0,s.default)(t);try{var e=JSON.parse(t);return!!e&&"object"===(void 0===e?"undefined":n(e))}catch(t){}return!1};var i,o=t("./util/assertString"),s=(i=o)&&i.__esModule?i:{default:i};e.exports=r.default},{"./util/assertString":189}],160:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){if((0,o.default)(t),!t.includes(","))return!1;var e=t.split(",");return s.test(e[0])&&a.test(e[1])};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,a=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;e.exports=r.default},{"./util/assertString":189}],161:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};r.default=function(t,e){(0,a.default)(t);var r=void 0,n=void 0;"object"===(void 0===e?"undefined":s(e))?(r=e.min||0,n=e.max):(r=e,n=arguments[2]);var i=t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],o=t.length-i.length;return r<=o&&(void 0===n||o<=n)};var n,i=t("./util/assertString"),a=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./util/assertString":189}],162:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),t===t.toLowerCase()};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./util/assertString":189}],163:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;e.exports=r.default},{"./util/assertString":189}],164:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^[a-f0-9]{32}$/;e.exports=r.default},{"./util/assertString":189}],165:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)||a.test(t)||u.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,u=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=r.default},{"./util/assertString":189}],166:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e,r){if((0,o.default)(t),r&&r.strictMode&&!t.startsWith("+"))return!1;{if(e in s)return s[e].test(t);if("any"===e){for(var n in s)if(s.hasOwnProperty(n)){var i=s[n];if(i.test(t))return!0}return!1}}throw new Error("Invalid locale '"+e+"'")};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s={"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-EG":/^((\+?20)|0)?1[012]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+?49[ \.\-])?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-HK":/^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)?[7]\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)2\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[89]\d{7}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^(\+?1)?[2-9]\d{2}[2-9](?!11)\d{6}$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"es-ES":/^(\+?34)?(6\d{1}|7[1234])\d{7}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0[1-9])[\s|\d]+$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"ja-JP":/^(\+?81|0)[789]0[ \-]?[1-9]\d{2}[ \-]?\d{5}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"ms-MY":/^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^(\+?55|0)\-?[1-9]{2}\-?[2-9]{1}\d{3,4}\-?\d{4}$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"vi-VN":/^(\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,"zh-CN":/^(\+?0?86\-?)?1[3456789]\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/};s["en-CA"]=s["en-US"],s["fr-BE"]=s["nl-BE"],s["zh-HK"]=s["en-HK"],e.exports=r.default},{"./util/assertString":189}],167:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,n.default)(t),(0,i.default)(t)&&24===t.length};var n=o(t("./util/assertString")),i=o(t("./isHexadecimal"));function o(t){return t&&t.__esModule?t:{default:t}}e.exports=r.default},{"./isHexadecimal":149,"./util/assertString":189}],168:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/[^\x00-\x7F]/;e.exports=r.default},{"./util/assertString":189}],169:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^[-+]?[0-9]+$/;e.exports=r.default},{"./util/assertString":189}],170:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t,{min:0,max:65535})};var n,i=t("./isInt"),o=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./isInt":158}],171:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.locales=void 0,r.default=function(t,e){if((0,o.default)(t),e in l)return l[e].test(t);if("any"===e){for(var r in l){if(l.hasOwnProperty(r))if(l[r].test(t))return!0}return!1}throw new Error("Invalid locale '"+e+"'")};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/^\d{4}$/,a=/^\d{5}$/,u=/^\d{6}$/,l={AT:s,AU:s,BE:s,BG:s,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:s,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:s,DZ:a,ES:a,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,IL:a,IN:u,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,LI:/^(948[5-9]|949[0-7])$/,MX:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:s,PL:/^\d{2}\-\d{3}$/,PT:/^\d{4}\-\d{3}?$/,RO:u,RU:u,SA:a,SE:/^\d{3}\s?\d{2}$/,TW:/^\d{3}(\d{2})?$/,US:/^\d{5}(-\d{4})?$/,ZA:s,ZM:a};r.locales=Object.keys(l)},{"./util/assertString":189}],172:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){return(0,o.default)(t),s.test(t)};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=r.default},{"./util/assertString":189}],173:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t,e){if((0,f.default)(t),!t||2083<=t.length||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;e=(0,d.default)(e,_);var r=void 0,n=void 0,i=void 0,o=void 0,s=void 0,a=void 0,u=void 0,l=void 0;if(1<(u=(t=(u=(t=(u=t.split("#")).shift()).split("?")).shift()).split("://")).length){if(r=u.shift(),e.require_valid_protocol&&-1===e.protocols.indexOf(r))return!1}else{if(e.require_protocol)return!1;e.allow_protocol_relative_urls&&"//"===t.substr(0,2)&&(u[0]=t.substr(2))}if(""===(t=u.join("://")))return!1;if(""===(t=(u=t.split("/")).shift())&&!e.require_host)return!0;if(1<(u=t.split("@")).length&&0<=(n=u.shift()).indexOf(":")&&2").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")};var n,i=t("./util/assertString"),o=(n=i)&&n.__esModule?n:{default:n};e.exports=r.default},{"./util/assertString":189}],189:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(t){if(!("string"==typeof t||t instanceof String))throw new TypeError("This library (validator.js) validates strings only")},e.exports=r.default},{}],190:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var t=0"+this.endline(t))},r.prototype.comment=function(t,e){return this.stream.write(this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.endline(t))},r.prototype.declaration=function(t,e){return this.stream.write(this.space(e)),this.stream.write('"),this.stream.write(this.endline(t))},r.prototype.docType=function(t,e){var r,n,i,o;if(e||(e=0),this.stream.write(this.space(e)),this.stream.write(""),this.stream.write(this.endline(t))},r.prototype.element=function(t,e){var r,n,i,o,s,a,u,l;for(s in e||(e=0),l=this.space(e),this.stream.write(l+"<"+t.name),a=t.attributes)y.call(a,s)&&(r=a[s],this.attribute(r));if(0===t.children.length||t.children.every(function(t){return""===t.value}))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)this.stream.write(">"),this.stream.write(t.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),i=0,o=(u=t.children).length;i")}return this.stream.write(this.endline(t))},r.prototype.processingInstruction=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},r.prototype.raw=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},r.prototype.text=function(t,e){return this.stream.write(this.space(e)+t.value+this.endline(t))},r.prototype.dtdAttList=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},r.prototype.dtdElement=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},r.prototype.dtdEntity=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},r.prototype.dtdNotation=function(t,e){return this.stream.write(this.space(e)+""+this.endline(t))},r.prototype.endline=function(t){return t.isLastRootNode?"":this.newline},r}()}).call(this)},{"./XMLCData":196,"./XMLComment":197,"./XMLDTDAttList":198,"./XMLDTDElement":199,"./XMLDTDEntity":200,"./XMLDTDNotation":201,"./XMLDeclaration":202,"./XMLDocType":203,"./XMLElement":206,"./XMLProcessingInstruction":208,"./XMLRaw":209,"./XMLText":213,"./XMLWriterBase":214}],211:[function(t,e,r){(function(){var _,E,a,u,l,c,s,f,m,y,g,b,r,T={}.hasOwnProperty;s=t("./XMLDeclaration"),f=t("./XMLDocType"),_=t("./XMLCData"),E=t("./XMLComment"),m=t("./XMLElement"),g=t("./XMLRaw"),b=t("./XMLText"),y=t("./XMLProcessingInstruction"),a=t("./XMLDTDAttList"),u=t("./XMLDTDElement"),l=t("./XMLDTDEntity"),c=t("./XMLDTDNotation"),r=t("./XMLWriterBase"),e.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return function(t,e){for(var r in e)T.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype}(e,r),e.prototype.document=function(t){var e,r,n,i,o;for(this.textispresent=!1,i="",r=0,n=(o=t.children).length;r"+this.newline},e.prototype.comment=function(t,e){return this.space(e)+"\x3c!-- "+t.text+" --\x3e"+this.newline},e.prototype.declaration=function(t,e){var r;return r=this.space(e),r+='",r+=this.newline},e.prototype.docType=function(t,e){var r,n,i,o,s;if(e||(e=0),o=this.space(e),o+="",o+=this.newline},e.prototype.element=function(t,e){var r,n,i,o,s,a,u,l,c,f,h,p,d;for(u in e||(e=0),d=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),l="",l+=(p=this.space(e))+"<"+t.name,c=t.attributes)T.call(c,u)&&(r=c[u],l+=this.attribute(r));if(0===t.children.length||t.children.every(function(t){return""===t.value}))this.allowEmpty?l+=">"+this.newline:l+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&1===t.children.length&&null!=t.children[0].value)l+=">",l+=t.children[0].value,l+=""+this.newline;else{if(this.dontprettytextnodes)for(i=0,s=(f=t.children).length;i"+this.newline,o=0,a=(h=t.children).length;o"+this.newline}return l},e.prototype.processingInstruction=function(t,e){var r;return r=this.space(e)+""+this.newline},e.prototype.raw=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.text=function(t,e){return this.space(e)+t.value+this.newline},e.prototype.dtdAttList=function(t,e){var r;return r=this.space(e)+""+this.newline},e.prototype.dtdElement=function(t,e){return this.space(e)+""+this.newline},e.prototype.dtdEntity=function(t,e){var r;return r=this.space(e)+""+this.newline},e.prototype.dtdNotation=function(t,e){var r;return r=this.space(e)+""+this.newline},e.prototype.openNode=function(t,e){var r,n,i,o;if(e||(e=0),t instanceof m){for(n in i=this.space(e)+"<"+t.name,o=t.attributes)T.call(o,n)&&(r=o[n],i+=this.attribute(r));return i+=(t.children?">":"/>")+this.newline}return i=this.space(e)+"")+this.newline},e.prototype.closeNode=function(t,e){switch(e||(e=0),!1){case!(t instanceof m):return this.space(e)+""+this.newline;case!(t instanceof f):return this.space(e)+"]>"+this.newline}},e}()}).call(this)},{"./XMLCData":196,"./XMLComment":197,"./XMLDTDAttList":198,"./XMLDTDElement":199,"./XMLDTDEntity":200,"./XMLDTDNotation":201,"./XMLDeclaration":202,"./XMLDocType":203,"./XMLElement":206,"./XMLProcessingInstruction":208,"./XMLRaw":209,"./XMLText":213,"./XMLWriterBase":214}],212:[function(t,e,r){(function(){var s={}.hasOwnProperty;e.exports=function(){function t(t){var e,r,n,i,o;for(n in this.assertLegalChar=(e=this.assertLegalChar,r=this,function(){return e.apply(r,arguments)}),t||(t={}),this.noDoubleEncoding=t.noDoubleEncoding,i=t.stringify||{})s.call(i,n)&&(o=i[n],this[n]=o)}return t.prototype.eleName=function(t){return t=""+t||"",this.assertLegalChar(t)},t.prototype.eleText=function(t){return t=""+t||"",this.assertLegalChar(this.elEscape(t))},t.prototype.cdata=function(t){return t=(t=""+t||"").replace("]]>","]]]]>"),this.assertLegalChar(t)},t.prototype.comment=function(t){if((t=""+t||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},t.prototype.raw=function(t){return""+t||""},t.prototype.attName=function(t){return""+t||""},t.prototype.attValue=function(t){return t=""+t||"",this.attEscape(t)},t.prototype.insTarget=function(t){return""+t||""},t.prototype.insValue=function(t){if((t=""+t||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return t},t.prototype.xmlVersion=function(t){if(!(t=""+t||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},t.prototype.xmlEncoding=function(t){if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return t},t.prototype.xmlStandalone=function(t){return t?"yes":"no"},t.prototype.dtdPubID=function(t){return""+t||""},t.prototype.dtdSysID=function(t){return""+t||""},t.prototype.dtdElementValue=function(t){return""+t||""},t.prototype.dtdAttType=function(t){return""+t||""},t.prototype.dtdAttDefault=function(t){return null!=t?""+t||"":t},t.prototype.dtdEntityValue=function(t){return""+t||""},t.prototype.dtdNData=function(t){return""+t||""},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(t){var e;if(e=t.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw new Error("Invalid character in string: "+t+" at index "+e.index);return t},t.prototype.elEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(//g,">").replace(/\r/g," ")},t.prototype.attEscape=function(t){var e;return e=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&").replace(/