My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

49 lines
514 KiB

  1. !function(e,t){for(var r in t)e[r]=t[r]}(exports,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(e,t){e.exports=require("path")},function(e,t){e.exports=require("os")},function(e,t){e.exports=require("crypto")},function(e,t){e.exports=require("net")},function(e,t){e.exports=require("url")},function(e,t){e.exports=require("fs")},function(e,t){e.exports=require("child_process")},function(e,t){e.exports=require("util")},function(e,t){e.exports=require("events")},function(e,t){e.exports=require("stream")},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(16)},function(e,t,r){!function(e,t){for(var r in t)e[r]=t[r]}(t,function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=370)}([,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3);t.Event=n.Event;const i=r(33),s=r(35),o=r(36),a=r(34),c=r(37);!function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(3));const u=r(38);!function(e){e.uriToFilePath=u.uriToFilePath,e.resolveGlobalNodePath=u.resolveGlobalNodePath,e.resolveGlobalYarnPath=u.resolveGlobalYarnPath,e.resolve=u.resolve,e.resolveModulePath=u.resolveModulePath}(t.Files||(t.Files={}));let p=!1,l=void 0;function f(e){if(null!==e)return e}!function(){function e(e){try{let t=parseInt(e);isNaN(t)||(l=setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(p?0:1)}},3e3))}catch(e){}}for(let t=2;t<process.argv.length;t++){let r=process.argv[t];if("--clientProcessId"===r&&t+1<process.argv.length)return void e(process.argv[t+1]);{let t=r.split("=");"--clientProcessId"===t[0]&&e(t[1])}}}();t.TextDocuments=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new n.Emitter,this._onDidOpen=new n.Emitter,this._onDidClose=new n.Emitter,this._onDidSave=new n.Emitter,this._onWillSave=new n.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=n.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(e=>{let t=e.textDocument,r=this._configuration.create(t.uri,t.languageId,t.version,t.text);this._documents[t.uri]=r;let n=Object.freeze({document:r});this._onDidOpen.fire(n),this._onDidChangeContent.fire(n)}),e.onDidChangeTextDocument(e=>{let t=e.textDocument,r=e.contentChanges;if(0===r.length)return;let n=this._documents[t.uri];const{version:i}=t;if(null==i)throw new Error(`Received document change event for ${t.uri} without valid version identifier`);n=this._configuration.update(n,r,i),this._documents[t.uri]=n,this._onDidChangeContent.fire(Object.freeze({document:n}))}),e.onDidCloseTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&(delete this._documents[e.textDocument.uri],this._onDidClose.fire(Object.freeze({document:t})))}),e.onWillSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onWillSave.fire(Object.freeze({document:t,reason:e.reason}))}),e.onWillSaveTextDocumentWaitUntil((e,t)=>{let r=this._documents[e.textDocument.uri];return r&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:r,reason:e.reason}),t):[]}),e.onDidSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onDidSave.fire(Object.freeze({document:t}))})}};t.ErrorMessageTracker=class{constructor(){this._messages=Object.create(null)}add(e){let t=this._messages[e];t||(t=0),t++,this._messages[e]=t}sendErrors(e){Object.keys(this._messages).forEach(t=>{e.window.showErrorMessage(t)})}};class m{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(n.MessageType.Error,e)}warn(e){this.send(n.MessageType.Warning,e)}info(e){this.send(n.MessageType.Info,e)}log(e){this.send(n.MessageType.Log,e)}send(e,t){this._rawConnection&&this._rawConnection.sendNotification(n.LogMessageNotification.type,{type:e,message:t})}}const h=o.ProgressFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...t){let r={type:n.MessageType.Error,message:e,actions:t};return this._connection.sendRequest(n.ShowMessageRequest.type,r).then(f)}showWarningMessage(e,...t){let r={type:n.MessageType.Warning,message:e,actions:t};return this._connection.sendRequest(n.ShowMessageRequest.type,r).then(f)}showInformationMessage(e,...t){let r={type:n.MessageType.Info,message:e,actions:t};return this._connection.sendRequest(n.ShowMessageRequest.type,r).then(f)}});!function(e){e.create=function(){return new d}}(t.BulkRegistration||(t.BulkRegistration={}));class d{constructor(){this._registrations=[],this._registered=new Set}add(e,t){const r=a.string(e)?e:e.method;if(this._registered.has(r))throw new Error(`${r} is already added to this registration`);const n=c.generateUuid();this._registrations.push({id:n,method:r,registerOptions:t||{}}),this._registered.add(r)}asRegistrationParams(){return{registrations:this._registrations}}}!function(e){e.create=function(){return new _(void 0,[])}}(t.BulkUnregistration||(t.BulkUnregistration={}));class _{constructor(e,t){this._connection=e,this._unregistrations=new Map,t.forEach(e=>{this._unregistrations.set(e.method,e)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let t of this._unregistrations.values())e.push(t);let t={unregisterations:e};this._connection.sendRequest(n.UnregistrationRequest.type,t).then(void 0,e=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){const t=a.string(e)?e:e.method,r=this._unregistrations.get(t);if(!r)return!1;let i={unregisterations:[r]};return this._connection.sendRequest(n.UnregistrationRequest.type,i).then(()=>{this._unregistrations.delete(t)},e=>{this._connection.console.info(`Unregistering request handler for ${r.id} failed.`)}),!0}}class g{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,t,r){return e instanceof d?this.registerMany(e):e instanceof _?this.registerSingle1(e,t,r):this.registerSingle2(e,t)}registerSingle1(e,t,r){const i=a.string(t)?t:t.method,s=c.generateUuid();let o={registrations:[{id:s,method:i,registerOptions:r||{}}]};return e.isAttached||e.attach(this._connection),this._connection.sendRequest(n.RegistrationRequest.type,o).then(t=>(e.add({id:s,method:i}),e),e=>(this.connection.console.info(`Registering request handler for ${i} failed.`),Promise.reject(e)))}registerSingle2(e,t){const r=a.string(e)?e:e.method,i=c.generateUuid();let s={registrations:[{id:i,method:r,registerOptions:t||{}}]};return this._connection.sendRequest(n.RegistrationRequest.type,s).then(e=>n.Disposable.create(()=>{this.unregisterSingle(i,r)}),e=>(this.connection.console.info(`Registering request handler for ${r} failed.`),Promise.reject(e)))}unregisterSingle(e,t){let r={unregisterations:[{id:e,method:t}]};return this._connection.sendRequest(n.UnregistrationRequest.type,r).then(void 0,t=>{this.connection.console.info(`Unregistering request handler for ${e} failed.`)})}registerMany(e){let t=e.asRegistrationParams();return this._connection.sendRequest(n.RegistrationRequest.type,t).then(()=>new _(this._connection,t.registrations.map(e=>({id:e.id,method:e.method}))),e=>(this.connection.console.info("Bulk registration failed."),Promise.reject(e)))}}const y=s.WorkspaceFoldersFeature(i.ConfigurationFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){let t=(r=e)&&r.edit?e:{edit:e};var r;return this._connection.sendRequest(n.ApplyWorkspaceEditRequest.type,t)}}));class R{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this._connection.sendNotification(n.TelemetryEventNotification.type,e)}}class b{constructor(){this._trace=n.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,t){this._trace!==n.Trace.Off&&this._connection.sendNotification(n.LogTraceNotification.type,{message:e,verbose:this._trace===n.Trace.Verbose?t:void 0})}}class v{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return o.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,t){return o.attachPartialResult(this.connection,t)}}function A(e,t){return function(r){return t(e(r))}}function E(e,t){return function(r){return t(e(r))}}function T(e,t){return function(r){return t(e(r))}}function x(e,t){return function(r){return t(e(r))}}function O(e,t){return function(r){return t(e(r))}}function N(e,t){return function(r){return t(e(r))}}function w(e,t){return function(r){return t(e(r))}}t.LanguagesImpl=v,t.combineConsoleFeatures=A,t.combineTelemetryFeatures=E,t.combineTracerFeatures=T,t.combineClientFeatures=x,t.combineWindowFeatures=O,t.combineWorkspaceFeatures=N,t.combineLanguagesFeatures=w,t.combineFeatures=function(e,t){function r(e,t,r){return e&&t?r(e,t):e||t}return{__brand:"features",console:r(e.console,t.console,A),tracer:r(e.tracer,t.tracer,T),telemetry:r(e.telemetry,t.telemetry,E),client:r(e.client,t.client,x),window:r(e.window,t.window,O),workspace:r(e.workspace,t.workspace,N)}},t.createConnection=function(e,t,r,i){let s,c,u,f;return void 0!==e&&"features"===e.__brand&&(s=e,e=t,t=r,r=i),n.ConnectionStrategy.is(e)?f=e:(c=e,u=t,f=r),function(e,t,r,i){if(!e&&!t&&process.argv.length>2){let r=void 0,i=void 0,o=process.argv.slice(2);for(let a=0;a<o.length;a++){let c=o[a];if("--node-ipc"===c){e=new n.IPCMessageReader(process),t=new n.IPCMessageWriter(process);break}if("--stdio"===c){e=process.stdin,t=process.stdout;break}if("--socket"===c){r=parseInt(o[a+1]);break}if("--pipe"===c){i=o[a+1];break}var s=c.split("=");if("--socket"===s[0]){r=parseInt(s[1]);break}if("--pipe"===s[0]){i=s[1];break}}if(r){let i=n.createServerSocketTransport(r);e=i[0],t=i[1]}else if(i){let r=n.createServerPipeTransport(i);e=r[0],t=r[1]}}var c="Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'";if(!e)throw new Error("Connection input stream is not set. "+c);if(!t)throw new Error("Connection output stream is not set. "+c);if(a.func(e.read)&&a.func(e.on)){let t=e;t.on("end",()=>{process.exit(p?0:1)}),t.on("close",()=>{process.exit(p?0:1)})}const u=i&&i.console?new(i.console(m)):new m,f=n.createProtocolConnection(e,t,u,r);u.rawAttach(f);const d=i&&i.tracer?new(i.tracer(b)):new b,_=i&&i.telemetry?new(i.telemetry(R)):new R,A=i&&i.client?new(i.client(g)):new g,E=i&&i.window?new(i.window(h)):new h,T=i&&i.workspace?new(i.workspace(y)):new y,x=i&&i.languages?new(i.languages(v)):new v,O=[u,d,_,A,E,T,x];let N=void 0,w=void 0,C=void 0,S={listen:()=>f.listen(),sendRequest:(e,...t)=>f.sendRequest(a.string(e)?e:e.method,...t),onRequest:(e,t)=>f.onRequest(e,t),sendNotification:(e,t)=>{const r=a.string(e)?e:e.method;1===arguments.length?f.sendNotification(r):f.sendNotification(r,t)},onNotification:(e,t)=>f.onNotification(e,t),onProgress:f.onProgress,sendProgress:f.sendProgress,onInitialize:e=>w=e,onInitialized:e=>f.onNotification(n.InitializedNotification.type,e),onShutdown:e=>N=e,onExit:e=>C=e,get console(){return u},get telemetry(){return _},get tracer(){return d},get client(){return A},get window(){return E},get workspace(){return T},get languages(){return x},onDidChangeConfiguration:e=>f.onNotification(n.DidChangeConfigurationNotification.type,e),onDidChangeWatchedFiles:e=>f.onNotification(n.DidChangeWatchedFilesNotification.type,e),__textDocumentSync:void 0,onDidOpenTextDocument:e=>f.onNotification(n.DidOpenTextDocumentNotification.type,e),onDidChangeTextDocument:e=>f.onNotification(n.DidChangeTextDocumentNotification.type,e),onDidCloseTextDocument:e=>f.onNotification(n.DidCloseTextDocumentNotification.type,e),onWillSaveTextDocument:e=>f.onNotification(n.WillSaveTextDocumentNotification.type,e),onWillSaveTextDocumentWaitUntil:e=>f.onRequest(n.WillSaveTextDocumentWaitUntilRequest.type,e),onDidSaveTextDocument:e=>f.onNotification(n.DidSaveTextDocumentNotification.type,e),sendDiagnostics:e=>f.sendNotification(n.PublishDiagnosticsNotification.type,e),onHover:e=>f.onRequest(n.HoverRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),onCompletion:e=>f.onRequest(n.CompletionRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onCompletionResolve:e=>f.onRequest(n.CompletionResolveRequest.type,e),onSignatureHelp:e=>f.onRequest(n.SignatureHelpRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),onDeclaration:e=>f.onRequest(n.DeclarationRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onDefinition:e=>f.onRequest(n.DefinitionRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onTypeDefinition:e=>f.onRequest(n.TypeDefinitionRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onImplementation:e=>f.onRequest(n.ImplementationRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onReferences:e=>f.onRequest(n.ReferencesRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onDocumentHighlight:e=>f.onRequest(n.DocumentHighlightRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onDocumentSymbol:e=>f.onRequest(n.DocumentSymbolRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onWorkspaceSymbol:e=>f.onRequest(n.WorkspaceSymbolRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onCodeAction:e=>f.onRequest(n.CodeActionRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onCodeLens:e=>f.onRequest(n.CodeLensRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onCodeLensResolve:e=>f.onRequest(n.CodeLensResolveRequest.type,(t,r)=>e(t,r)),onDocumentFormatting:e=>f.onRequest(n.DocumentFormattingRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),onDocumentRangeFormatting:e=>f.onRequest(n.DocumentRangeFormattingRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),onDocumentOnTypeFormatting:e=>f.onRequest(n.DocumentOnTypeFormattingRequest.type,(t,r)=>e(t,r)),onRenameRequest:e=>f.onRequest(n.RenameRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),onPrepareRename:e=>f.onRequest(n.PrepareRenameRequest.type,(t,r)=>e(t,r)),onDocumentLinks:e=>f.onRequest(n.DocumentLinkRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onDocumentLinkResolve:e=>f.onRequest(n.DocumentLinkResolveRequest.type,(t,r)=>e(t,r)),onDocumentColor:e=>f.onRequest(n.DocumentColorRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onColorPresentation:e=>f.onRequest(n.ColorPresentationRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onFoldingRanges:e=>f.onRequest(n.FoldingRangeRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onSelectionRanges:e=>f.onRequest(n.SelectionRangeRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),o.attachPartialResult(f,t))),onExecuteCommand:e=>f.onRequest(n.ExecuteCommandRequest.type,(t,r)=>e(t,r,o.attachWorkDone(f,t),void 0)),dispose:()=>f.dispose()};for(let e of O)e.attach(S);return f.onRequest(n.InitializeRequest.type,e=>{const t=e.processId;a.number(t)&&void 0===l&&setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(p?0:1)}},3e3),a.string(e.trace)&&(d.trace=n.Trace.fromString(e.trace));for(let t of O)t.initialize(e.capabilities);if(w){return function(e){return e instanceof Promise?e:a.thenable(e)?new Promise((t,r)=>{e.then(e=>t(e),e=>r(e))}):Promise.resolve(e)}(w(e,(new n.CancellationTokenSource).token,o.attachWorkDone(f,e),void 0)).then(e=>{if(e instanceof n.ResponseError)return e;let t=e;t||(t={capabilities:{}});let r=t.capabilities;r||(r={},t.capabilities=r),void 0===r.textDocumentSync||null===r.textDocumentSync?r.textDocumentSync=a.number(S.__textDocumentSync)?S.__textDocumentSync:n.TextDocumentSyncKind.None:a.number(r.textDocumentSync)||a.number(r.textDocumentSync.change)||(r.textDocumentSync.change=a.number(S.__textDocumentSync)?S.__textDocumentSync:n.TextDocumentSyncKind.None);for(let e of O)e.fillServerCapabilities(r);return t})}{let e={capabilities:{textDocumentSync:n.TextDocumentSyncKind.None}};for(let t of O)t.fillServerCapabilities(e.capabilities);return e}}),f.onRequest(n.ShutdownRequest.type,()=>(p=!0,N?N((new n.CancellationTokenSource).token):void 0)),f.onNotification(n.ExitNotification.type,()=>{try{C&&C()}finally{p?process.exit(0):process.exit(1)}}),f.onNotification(n.SetTraceNotification.type,e=>{d.trace=n.Trace.fromString(e.value)}),S}(c,u,f,s)};const C=r(42),S=r(43);!function(e){e.all={__brand:"features",languages:w(C.CallHierarchyFeature,S.SemanticTokensFeature)},e.SemanticTokensBuilder=S.SemanticTokensBuilder}(t.ProposedFeatures||(t.ProposedFeatures={}))},function(e,t,r){"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0});const i=r(4);t.ErrorCodes=i.ErrorCodes,t.ResponseError=i.ResponseError,t.CancellationToken=i.CancellationToken,t.CancellationTokenSource=i.CancellationTokenSource,t.Disposable=i.Disposable,t.Event=i.Event,t.Emitter=i.Emitter,t.Trace=i.Trace,t.TraceFormat=i.TraceFormat,t.SetTraceNotification=i.SetTraceNotification,t.LogTraceNotification=i.LogTraceNotification,t.RequestType=i.RequestType,t.RequestType0=i.RequestType0,t.NotificationType=i.NotificationType,t.NotificationType0=i.NotificationType0,t.MessageReader=i.MessageReader,t.MessageWriter=i.MessageWriter,t.ConnectionStrategy=i.ConnectionStrategy,t.StreamMessageReader=i.StreamMessageReader,t.StreamMessageWriter=i.StreamMessageWriter,t.IPCMessageReader=i.IPCMessageReader,t.IPCMessageWriter=i.IPCMessageWriter,t.createClientPipeTransport=i.createClientPipeTransport,t.createServerPipeTransport=i.createServerPipeTransport,t.generateRandomPipeName=i.generateRandomPipeName,t.createClientSocketTransport=i.createClientSocketTransport,t.createServerSocketTransport=i.createServerSocketTransport,t.ProgressType=i.ProgressType,n(r(18)),n(r(19));const s=r(31),o=r(32);!function(e){let t,r,n,i,a,c;!function(e){e.method=s.CallHierarchyPrepareRequest.method,e.type=s.CallHierarchyPrepareRequest.type}(t=e.CallHierarchyPrepareRequest||(e.CallHierarchyPrepareRequest={})),function(e){e.method=s.CallHierarchyIncomingCallsRequest.method,e.type=s.CallHierarchyIncomingCallsRequest.type}(r=e.CallHierarchyIncomingCallsRequest||(e.CallHierarchyIncomingCallsRequest={})),function(e){e.method=s.CallHierarchyOutgoingCallsRequest.method,e.type=s.CallHierarchyOutgoingCallsRequest.type}(n=e.CallHierarchyOutgoingCallsRequest||(e.CallHierarchyOutgoingCallsRequest={})),e.SemanticTokenTypes=o.SemanticTokenTypes,e.SemanticTokenModifiers=o.SemanticTokenModifiers,e.SemanticTokens=o.SemanticTokens,function(e){e.method=o.SemanticTokensRequest.method,e.type=o.SemanticTokensRequest.type}(i=e.SemanticTokensRequest||(e.SemanticTokensRequest={})),function(e){e.method=o.SemanticTokensEditsRequest.method,e.type=o.SemanticTokensEditsRequest.type}(a=e.SemanticTokensEditsRequest||(e.SemanticTokensEditsRequest={})),function(e){e.method=o.SemanticTokensRangeRequest.method,e.type=o.SemanticTokensRangeRequest.type}(c=e.SemanticTokensRangeRequest||(e.SemanticTokensRangeRequest={}))}(t.Proposed||(t.Proposed={})),t.createProtocolConnection=function(e,t,r,n){return i.createMessageConnection(e,t,r,n)}},function(e,t,r){"use strict";function n(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0});const i=r(5),s=r(6);t.RequestType=s.RequestType,t.RequestType0=s.RequestType0,t.RequestType1=s.RequestType1,t.RequestType2=s.RequestType2,t.RequestType3=s.RequestType3,t.RequestType4=s.RequestType4,t.RequestType5=s.RequestType5,t.RequestType6=s.RequestType6,t.RequestType7=s.RequestType7,t.RequestType8=s.RequestType8,t.RequestType9=s.RequestType9,t.ResponseError=s.ResponseError,t.ErrorCodes=s.ErrorCodes,t.NotificationType=s.NotificationType,t.NotificationType0=s.NotificationType0,t.NotificationType1=s.NotificationType1,t.NotificationType2=s.NotificationType2,t.NotificationType3=s.NotificationType3,t.NotificationType4=s.NotificationType4,t.NotificationType5=s.NotificationType5,t.NotificationType6=s.NotificationType6,t.NotificationType7=s.NotificationType7,t.NotificationType8=s.NotificationType8,t.NotificationType9=s.NotificationType9;const o=r(7);t.MessageReader=o.MessageReader,t.StreamMessageReader=o.StreamMessageReader,t.IPCMessageReader=o.IPCMessageReader,t.SocketMessageReader=o.SocketMessageReader;const a=r(9);t.MessageWriter=a.MessageWriter,t.StreamMessageWriter=a.StreamMessageWriter,t.IPCMessageWriter=a.IPCMessageWriter,t.SocketMessageWriter=a.SocketMessageWriter;const c=r(8);t.Disposable=c.Disposable,t.Event=c.Event,t.Emitter=c.Emitter;const u=r(10);t.CancellationTokenSource=u.CancellationTokenSource,t.CancellationToken=u.CancellationToken;const p=r(11);var l,f,m,h,d,_,g,y;n(r(12)),n(r(17)),function(e){e.type=new s.NotificationType("$/cancelRequest")}(l||(l={})),function(e){e.type=new s.NotificationType("$/progress")}(f||(f={}));t.ProgressType=class{constructor(){}},t.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}}),function(e){e[e.Off=0]="Off",e[e.Messages=1]="Messages",e[e.Verbose=2]="Verbose"}(m=t.Trace||(t.Trace={})),function(e){e.fromString=function(t){if(!i.string(t))return e.Off;switch(t=t.toLowerCase()){case"off":return e.Off;case"messages":return e.Messages;case"verbose":return e.Verbose;default:return e.Off}},e.toString=function(t){switch(t){case e.Off:return"off";case e.Messages:return"messages";case e.Verbose:return"verbose";default:return"off"}}}(m=t.Trace||(t.Trace={})),function(e){e.Text="text",e.JSON="json"}(h=t.TraceFormat||(t.TraceFormat={})),function(e){e.fromString=function(t){return"json"===(t=t.toLowerCase())?e.JSON:e.Text}}(h=t.TraceFormat||(t.TraceFormat={})),function(e){e.type=new s.NotificationType("$/setTraceNotification")}(d=t.SetTraceNotification||(t.SetTraceNotification={})),function(e){e.type=new s.NotificationType("$/logTraceNotification")}(_=t.LogTraceNotification||(t.LogTraceNotification={})),function(e){e[e.Closed=1]="Closed",e[e.Disposed=2]="Disposed",e[e.AlreadyListening=3]="AlreadyListening"}(g=t.ConnectionErrors||(t.ConnectionErrors={}));class R extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,R.prototype)}}function b(e,t,r,n){let o=0,a=0,b=0;const v="2.0";let A,E,T=void 0,x=Object.create(null),O=void 0,N=Object.create(null),w=new Map,C=new p.LinkedMap,S=Object.create(null),k=Object.create(null),L=m.Off,D=h.Text,G=y.New,M=new c.Emitter,I=new c.Emitter,F=new c.Emitter,B=new c.Emitter,P=new c.Emitter;function W(e){return"req-"+e.toString()}function j(e,t){var r;s.isRequestMessage(t)?e.set(W(t.id),t):s.isResponseMessage(t)?e.set(null===(r=t.id)?"res-unknown-"+(++b).toString():"res-"+r.toString(),t):e.set("not-"+(++a).toString(),t)}function q(e){}function H(){return G===y.Listening}function $(){return G===y.Closed}function X(){return G===y.Disposed}function U(){G!==y.New&&G!==y.Listening||(G=y.Closed,I.fire(void 0))}function V(){A||0===C.size||(A=setImmediate(()=>{A=void 0,function(){if(0===C.size)return;let e=C.shift();try{s.isRequestMessage(e)?function(e){if(X())return;function r(r,n,i){let o={jsonrpc:v,id:e.id};r instanceof s.ResponseError?o.error=r.toJson():o.result=void 0===r?null:r,K(o,n,i),t.write(o)}function n(r,n,i){let s={jsonrpc:v,id:e.id,error:r.toJson()};K(s,n,i),t.write(s)}!function(e){if(L===m.Off||!E)return;if(D===h.Text){let t=void 0;L===m.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),E.log(`Received request '${e.method} - (${e.id})'.`,t)}else Z("receive-request",e)}(e);let o,a,c=x[e.method];c&&(o=c.type,a=c.handler);let p=Date.now();if(a||T){let c=new u.CancellationTokenSource,l=String(e.id);k[l]=c;try{let u,f=u=void 0===e.params||void 0!==o&&0===o.numberOfParams?a?a(c.token):T(e.method,c.token):i.array(e.params)&&(void 0===o||o.numberOfParams>1)?a?a(...e.params,c.token):T(e.method,...e.params,c.token):a?a(e.params,c.token):T(e.method,e.params,c.token);u?f.then?f.then(t=>{delete k[l],r(t,e.method,p)},t=>{delete k[l],t instanceof s.ResponseError?n(t,e.method,p):t&&i.string(t.message)?n(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,p):n(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,p)}):(delete k[l],r(u,e.method,p)):(delete k[l],function(r,n,i){void 0===r&&(r=null);let s={jsonrpc:v,id:e.id,result:r};K(s,n,i),t.write(s)}(u,e.method,p))}catch(t){delete k[l],t instanceof s.ResponseError?r(t,e.method,p):t&&i.string(t.message)?n(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,p):n(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,p)}}else n(new s.ResponseError(s.ErrorCodes.MethodNotFound,`Unhandled method ${e.method}`),e.method,p)}(e):s.isNotificationMessage(e)?function(e){if(X())return;let t,n=void 0;if(e.method===l.type.method)t=e=>{let t=e.id,r=k[String(t)];r&&r.cancel()};else{let r=N[e.method];r&&(t=r.handler,n=r.type)}if(t||O)try{!function(e){if(L===m.Off||!E||e.method===_.type.method)return;if(D===h.Text){let t=void 0;L===m.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),E.log(`Received notification '${e.method}'.`,t)}else Z("receive-notification",e)}(e),void 0===e.params||void 0!==n&&0===n.numberOfParams?t?t():O(e.method):i.array(e.params)&&(void 0===n||n.numberOfParams>1)?t?t(...e.params):O(e.method,...e.params):t?t(e.params):O(e.method,e.params)}catch(t){t.message?r.error(`Notification handler '${e.method}' failed with message: ${t.message}`):r.error(`Notification handler '${e.method}' failed unexpectedly.`)}else F.fire(e)}(e):s.isResponseMessage(e)?function(e){if(X())return;if(null===e.id)e.error?r.error(`Received response message without id: Error is: \n${JSON.stringify(e.error,void 0,4)}`):r.error("Received response message without id. No further error information provided.");else{let t=String(e.id),n=S[t];if(function(e,t){if(L===m.Off||!E)return;if(D===h.Text){let r=void 0;if(L===m.Verbose&&(e.error&&e.error.data?r=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?r=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(r="No result returned.\n\n")),t){let n=e.error?` Request failed: ${e.error.message} (${e.error.code}).`:"";E.log(`Received response '${t.method} - (${e.id})' in ${Date.now()-t.timerStart}ms.${n}`,r)}else E.log(`Received response ${e.id} without active response promise.`,r)}else Z("receive-response",e)}(e,n),n){delete S[t];try{if(e.error){let t=e.error;n.reject(new s.ResponseError(t.code,t.message,t.data))}else{if(void 0===e.result)throw new Error("Should never happen.");n.resolve(e.result)}}catch(e){e.message?r.error(`Response handler '${n.method}' failed with message: ${e.message}`):r.error(`Response handler '${n.method}' failed unexpectedly.`)}}}}(e):function(e){if(!e)return void r.error("Received empty message.");r.error(`Received message which is neither a response nor a notification message:\n${JSON.stringify(e,null,4)}`);let t=e;if(i.string(t.id)||i.number(t.id)){let e=String(t.id),r=S[e];r&&r.reject(new Error("The received response has neither a result nor an error property."))}}(e)}finally{V()}}()}))}e.onClose(U),e.onError((function(e){M.fire([e,void 0,void 0])})),t.onClose(U),t.onError((function(e){M.fire(e)}));let z=e=>{try{if(s.isNotificationMessage(e)&&e.method===l.type.method){let r=W(e.params.id),i=C.get(r);if(s.isRequestMessage(i)){let s=n&&n.cancelUndispatched?n.cancelUndispatched(i,q):void 0;if(s&&(void 0!==s.error||void 0!==s.result))return C.delete(r),s.id=i.id,K(s,e.method,Date.now()),void t.write(s)}}j(C,e)}finally{V()}};function K(e,t,r){if(L!==m.Off&&E)if(D===h.Text){let n=void 0;L===m.Verbose&&(e.error&&e.error.data?n=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?n=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(n="No result returned.\n\n")),E.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now()-r}ms`,n)}else Z("send-response",e)}function Z(e,t){if(!E||L===m.Off)return;const r={isLSPMessage:!0,type:e,message:t,timestamp:Date.now()};E.log(r)}function Y(){if($())throw new R(g.Closed,"Connection is closed.");if(X())throw new R(g.Disposed,"Connection is disposed.")}function Q(e){return void 0===e?null:e}function J(e,t){let r,n=e.numberOfParams;switch(n){case 0:r=null;break;case 1:r=Q(t[0]);break;default:r=[];for(let e=0;e<t.length&&e<n;e++)r.push(Q(t[e]));if(t.length<n)for(let e=t.length;e<n;e++)r.push(null)}return r}let ee={sendNotification:(e,...r)=>{let n,s;if(Y(),i.string(e))switch(n=e,r.length){case 0:s=null;break;case 1:s=r[0];break;default:s=r}else n=e.method,s=J(e,r);let o={jsonrpc:v,method:n,params:s};!function(e){if(L!==m.Off&&E)if(D===h.Text){let t=void 0;L===m.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),E.log(`Sending notification '${e.method}'.`,t)}else Z("send-notification",e)}(o),t.write(o)},onNotification:(e,t)=>{Y(),i.func(e)?O=e:t&&(i.string(e)?N[e]={type:void 0,handler:t}:N[e.method]={type:e,handler:t})},onProgress:(e,t,r)=>{if(w.has(t))throw new Error(`Progress handler for token ${t} already registered`);return w.set(t,r),{dispose:()=>{w.delete(t)}}},sendProgress:(e,t,r)=>{ee.sendNotification(f.type,{token:t,value:r})},onUnhandledProgress:B.event,sendRequest:(e,...r)=>{let n,a;Y(),function(){if(!H())throw new Error("Call listen() first.")}();let c=void 0;if(i.string(e))switch(n=e,r.length){case 0:a=null;break;case 1:u.CancellationToken.is(r[0])?(a=null,c=r[0]):a=Q(r[0]);break;default:const e=r.length-1;u.CancellationToken.is(r[e])?(c=r[e],a=2===r.length?Q(r[0]):r.slice(0,e).map(e=>Q(e))):a=r.map(e=>Q(e))}else{n=e.method,a=J(e,r);let t=e.numberOfParams;c=u.CancellationToken.is(r[t])?r[t]:void 0}let p=o++,f=new Promise((e,r)=>{let i={jsonrpc:v,id:p,method:n,params:a},o={method:n,timerStart:Date.now(),resolve:e,reject:r};!function(e){if(L!==m.Off&&E)if(D===h.Text){let t=void 0;L===m.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),E.log(`Sending request '${e.method} - (${e.id})'.`,t)}else Z("send-request",e)}(i);try{t.write(i)}catch(e){o.reject(new s.ResponseError(s.ErrorCodes.MessageWriteError,e.message?e.message:"Unknown reason")),o=null}o&&(S[String(p)]=o)});return c&&c.onCancellationRequested(()=>{ee.sendNotification(l.type,{id:p})}),f},onRequest:(e,t)=>{Y(),i.func(e)?T=e:t&&(i.string(e)?x[e]={type:void 0,handler:t}:x[e.method]={type:e,handler:t})},trace:(e,t,r)=>{let n=!1,s=h.Text;void 0!==r&&(i.boolean(r)?n=r:(n=r.sendNotification||!1,s=r.traceFormat||h.Text)),D=s,E=(L=e)===m.Off?void 0:t,!n||$()||X()||ee.sendNotification(d.type,{value:m.toString(e)})},onError:M.event,onClose:I.event,onUnhandledNotification:F.event,onDispose:P.event,dispose:()=>{if(X())return;G=y.Disposed,P.fire(void 0);let r=new Error("Connection got disposed.");Object.keys(S).forEach(e=>{S[e].reject(r)}),S=Object.create(null),k=Object.create(null),C=new p.LinkedMap,i.func(t.dispose)&&t.dispose(),i.func(e.dispose)&&e.dispose()},listen:()=>{Y(),function(){if(H())throw new R(g.AlreadyListening,"Connection is already listening")}(),G=y.Listening,e.listen(z)},inspect:()=>{console.log("inspect")}};return ee.onNotification(_.type,e=>{L!==m.Off&&E&&E.log(e.message,L===m.Verbose?e.verbose:void 0)}),ee.onNotification(f.type,e=>{const t=w.get(e.token);t?t(e.value):B.fire(e)}),ee}t.ConnectionError=R,function(e){e.is=function(e){let t=e;return t&&i.func(t.cancelUndispatched)}}(t.ConnectionStrategy||(t.ConnectionStrategy={})),function(e){e[e.New=1]="New",e[e.Listening=2]="Listening",e[e.Closed=3]="Closed",e[e.Disposed=4]="Disposed"}(y||(y={})),t.createMessageConnection=function(e,r,n,i){var s;return n||(n=t.NullLogger),b(void 0!==(s=e).listen&&void 0===s.read?e:new o.StreamMessageReader(e),function(e){return void 0!==e.write&&void 0===e.end}(r)?r:new a.StreamMessageWriter(r),n,i)}},function(e,t,r){"use strict";function n(e){return"string"==typeof e||e instanceof String}function i(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=i,t.stringArray=function(e){return i(e)&&e.every(e=>n(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5);var i;!function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.serverErrorStart=-32099,e.serverErrorEnd=-32e3,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.RequestCancelled=-32800,e.ContentModified=-32801,e.MessageWriteError=1,e.MessageReadError=2}(i=t.ErrorCodes||(t.ErrorCodes={}));class s extends Error{constructor(e,t,r){super(t),this.code=n.number(e)?e:i.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,s.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}}t.ResponseError=s;class o{constructor(e,t){this._method=e,this._numberOfParams=t}get method(){return this._method}get numberOfParams(){return this._numberOfParams}}t.AbstractMessageType=o;t.RequestType0=class extends o{constructor(e){super(e,0)}};t.RequestType=class extends o{constructor(e){super(e,1)}};t.RequestType1=class extends o{constructor(e){super(e,1)}};t.RequestType2=class extends o{constructor(e){super(e,2)}};t.RequestType3=class extends o{constructor(e){super(e,3)}};t.RequestType4=class extends o{constructor(e){super(e,4)}};t.RequestType5=class extends o{constructor(e){super(e,5)}};t.RequestType6=class extends o{constructor(e){super(e,6)}};t.RequestType7=class extends o{constructor(e){super(e,7)}};t.RequestType8=class extends o{constructor(e){super(e,8)}};t.RequestType9=class extends o{constructor(e){super(e,9)}};t.NotificationType=class extends o{constructor(e){super(e,1),this._=void 0}};t.NotificationType0=class extends o{constructor(e){super(e,0)}};t.NotificationType1=class extends o{constructor(e){super(e,1)}};t.NotificationType2=class extends o{constructor(e){super(e,2)}};t.NotificationType3=class extends o{constructor(e){super(e,3)}};t.NotificationType4=class extends o{constructor(e){super(e,4)}};t.NotificationType5=class extends o{constructor(e){super(e,5)}};t.NotificationType6=class extends o{constructor(e){super(e,6)}};t.NotificationType7=class extends o{constructor(e){super(e,7)}};t.NotificationType8=class extends o{constructor(e){super(e,8)}};t.NotificationType9=class extends o{constructor(e){super(e,9)}},t.isRequestMessage=function(e){let t=e;return t&&n.string(t.method)&&(n.string(t.id)||n.number(t.id))},t.isNotificationMessage=function(e){let t=e;return t&&n.string(t.method)&&void 0===e.id},t.isResponseMessage=function(e){let t=e;return t&&(void 0!==t.result||!!t.error)&&(n.string(t.id)||n.number(t.id)||null===t.id)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8),i=r(5);let s=8192,o=Buffer.from("\r","ascii")[0],a=Buffer.from("\n","ascii")[0],c="\r\n";class u{constructor(e="utf8"){this.encoding=e,this.index=0,this.buffer=Buffer.allocUnsafe(s)}append(e){var t=e;if("string"==typeof e){var r=e,n=Buffer.byteLength(r,this.encoding);(t=Buffer.allocUnsafe(n)).write(r,0,n,this.encoding)}if(this.buffer.length-this.index>=t.length)t.copy(this.buffer,this.index,0,t.length);else{var i=(Math.ceil((this.index+t.length)/s)+1)*s;0===this.index?(this.buffer=Buffer.allocUnsafe(i),t.copy(this.buffer,0,0,t.length)):this.buffer=Buffer.concat([this.buffer.slice(0,this.index),t],i)}this.index+=t.length}tryReadHeaders(){let e=void 0,t=0;for(;t+3<this.index&&(this.buffer[t]!==o||this.buffer[t+1]!==a||this.buffer[t+2]!==o||this.buffer[t+3]!==a);)t++;if(t+3>=this.index)return e;e=Object.create(null),this.buffer.toString("ascii",0,t).split(c).forEach(t=>{let r=t.indexOf(":");if(-1===r)throw new Error("Message header must separate key and value using :");let n=t.substr(0,r),i=t.substr(r+1).trim();e[n]=i});let r=t+4;return this.buffer=this.buffer.slice(r),this.index=this.index-r,e}tryReadContent(e){if(this.index<e)return null;let t=this.buffer.toString(this.encoding,0,e),r=e;return this.buffer.copy(this.buffer,0,r),this.index=this.index-r,t}get numberOfBytes(){return this.index}}!function(e){e.is=function(e){let t=e;return t&&i.func(t.listen)&&i.func(t.dispose)&&i.func(t.onError)&&i.func(t.onClose)&&i.func(t.onPartialMessage)}}(t.MessageReader||(t.MessageReader={}));class p{constructor(){this.errorEmitter=new n.Emitter,this.closeEmitter=new n.Emitter,this.partialMessageEmitter=new n.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${i.string(e.message)?e.message:"unknown"}`)}}t.AbstractMessageReader=p;class l extends p{constructor(e,t="utf8"){super(),this.readable=e,this.buffer=new u(t),this._partialMessageTimeout=1e4}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e,this.readable.on("data",e=>{this.onData(e)}),this.readable.on("error",e=>this.fireError(e)),this.readable.on("close",()=>this.fireClose())}onData(e){for(this.buffer.append(e);;){if(-1===this.nextMessageLength){let e=this.buffer.tryReadHeaders();if(!e)return;let t=e["Content-Length"];if(!t)throw new Error("Header must provide a Content-Length property.");let r=parseInt(t);if(isNaN(r))throw new Error("Content-Length value must be a number.");this.nextMessageLength=r}var t=this.buffer.tryReadContent(this.nextMessageLength);if(null===t)return void this.setPartialMessageTimer();this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.messageToken++;var r=JSON.parse(t);this.callback(r)}}clearPartialMessageTimer(){this.partialMessageTimer&&(clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),this._partialMessageTimeout<=0||(this.partialMessageTimer=setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}}t.StreamMessageReader=l;t.IPCMessageReader=class extends p{constructor(e){super(),this.process=e;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose())}listen(e){this.process.on("message",e)}};t.SocketMessageReader=class extends l{constructor(e,t="utf-8"){super(e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.create=function(e){return{dispose:e}}}(t.Disposable||(t.Disposable={})),function(e){const t={dispose(){}};e.None=function(){return t}}(t.Event||(t.Event={}));class n{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(this._callbacks){for(var r=!1,n=0,i=this._callbacks.length;n<i;n++)if(this._callbacks[n]===e){if(this._contexts[n]===t)return this._callbacks.splice(n,1),void this._contexts.splice(n,1);r=!0}if(r)throw new Error("When adding a listener with a context, you should remove it with the same context")}}invoke(...e){if(!this._callbacks)return[];for(var t=[],r=this._callbacks.slice(0),n=this._contexts.slice(0),i=0,s=r.length;i<s;i++)try{t.push(r[i].apply(n[i],e))}catch(e){console.error(e)}return t}isEmpty(){return!this._callbacks||0===this._callbacks.length}dispose(){this._callbacks=void 0,this._contexts=void 0}}class i{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,t,r)=>{let s;return this._callbacks||(this._callbacks=new n),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t),s={dispose:()=>{this._callbacks.remove(e,t),s.dispose=i._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this)}},Array.isArray(r)&&r.push(s),s}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=i,i._noop=function(){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8),i=r(5);let s="Content-Length: ",o="\r\n";!function(e){e.is=function(e){let t=e;return t&&i.func(t.dispose)&&i.func(t.onClose)&&i.func(t.onError)&&i.func(t.write)}}(t.MessageWriter||(t.MessageWriter={}));class a{constructor(){this.errorEmitter=new n.Emitter,this.closeEmitter=new n.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,r){this.errorEmitter.fire([this.asError(e),t,r])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${i.string(e.message)?e.message:"unknown"}`)}}t.AbstractMessageWriter=a;t.StreamMessageWriter=class extends a{constructor(e,t="utf8"){super(),this.writable=e,this.encoding=t,this.errorCount=0,this.writable.on("error",e=>this.fireError(e)),this.writable.on("close",()=>this.fireClose())}write(e){let t=JSON.stringify(e),r=Buffer.byteLength(t,this.encoding),n=[s,r.toString(),o,o];try{this.writable.write(n.join(""),"ascii"),this.writable.write(t,this.encoding),this.errorCount=0}catch(t){this.errorCount++,this.fireError(t,e,this.errorCount)}}};t.IPCMessageWriter=class extends a{constructor(e){super(),this.process=e,this.errorCount=0,this.queue=[],this.sending=!1;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose)}write(e){this.sending||0!==this.queue.length?this.queue.push(e):this.doWriteMessage(e)}doWriteMessage(e){try{this.process.send&&(this.sending=!0,this.process.send(e,void 0,void 0,t=>{this.sending=!1,t?(this.errorCount++,this.fireError(t,e,this.errorCount)):this.errorCount=0,this.queue.length>0&&this.doWriteMessage(this.queue.shift())}))}catch(t){this.errorCount++,this.fireError(t,e,this.errorCount)}}};t.SocketMessageWriter=class extends a{constructor(e,t="utf8"){super(),this.socket=e,this.queue=[],this.sending=!1,this.encoding=t,this.errorCount=0,this.socket.on("error",e=>this.fireError(e)),this.socket.on("close",()=>this.fireClose())}dispose(){super.dispose(),this.socket.destroy()}write(e){this.sending||0!==this.queue.length?this.queue.push(e):this.doWriteMessage(e)}doWriteMessage(e){let t=JSON.stringify(e),r=Buffer.byteLength(t,this.encoding),n=[s,r.toString(),o,o];try{this.sending=!0,this.socket.write(n.join(""),"ascii",r=>{r&&this.handleError(r,e);try{this.socket.write(t,this.encoding,t=>{this.sending=!1,t?this.handleError(t,e):this.errorCount=0,this.queue.length>0&&this.doWriteMessage(this.queue.shift())})}catch(r){this.handleError(r,e)}})}catch(t){this.handleError(t,e)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8),i=r(5);var s;!function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:n.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:n.Event.None}),e.is=function(t){let r=t;return r&&(r===e.None||r===e.Cancelled||i.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}}(s=t.CancellationToken||(t.CancellationToken={}));const o=Object.freeze((function(e,t){let r=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(r)}}}));class a{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o:(this._emitter||(this._emitter=new n.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class{get token(){return this._token||(this._token=new a),this._token}cancel(){this._token?this._token.cancel():this._token=s.Cancelled}dispose(){this._token?this._token instanceof a&&this._token.dispose():this._token=s.None}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.None=0,e.First=1,e.Last=2}(n=t.Touch||(t.Touch={}));t.LinkedMap=class{constructor(){this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}has(e){return this._map.has(e)}get(e){const t=this._map.get(e);if(t)return t.value}set(e,t,r=n.None){let i=this._map.get(e);if(i)i.value=t,r!==n.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case n.None:this.addItemLast(i);break;case n.First:this.addItemFirst(i);break;case n.Last:default:this.addItemLast(i)}this._map.set(e,i),this._size++}}delete(e){const t=this._map.get(e);return!!t&&(this._map.delete(e),this.removeItem(t),this._size--,!0)}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._head;for(;r;)t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),r=r.next}forEachReverse(e,t){let r=this._tail;for(;r;)t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),r=r.previous}values(){let e=[],t=this._head;for(;t;)e.push(t.value),t=t.next;return e}keys(){let e=[],t=this._head;for(;t;)e.push(t.key),t=t.next;return e}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head)this._head=e.next;else if(e===this._tail)this._tail=e.previous;else{const t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(t===n.First||t===n.Last)if(t===n.First){if(e===this._head)return;const t=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(t.previous=r,r.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e}else if(t===n.Last){if(e===this._tail)return;const t=e.next,r=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=r,r.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(14),s=r(15),o=r(16),a=r(7),c=r(9);t.generateRandomPipeName=function(){const e=s.randomBytes(21).toString("hex");return"win32"===process.platform?`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`:n.join(i.tmpdir(),`vscode-${e}.sock`)},t.createClientPipeTransport=function(e,t="utf-8"){let r,n=new Promise((e,t)=>{r=e});return new Promise((i,s)=>{let u=o.createServer(e=>{u.close(),r([new a.SocketMessageReader(e,t),new c.SocketMessageWriter(e,t)])});u.on("error",s),u.listen(e,()=>{u.removeListener("error",s),i({onConnected:()=>n})})})},t.createServerPipeTransport=function(e,t="utf-8"){const r=o.createConnection(e);return[new a.SocketMessageReader(r,t),new c.SocketMessageWriter(r,t)]}},function(e,t){e.exports=r(0)},function(e,t){e.exports=r(1)},function(e,t){e.exports=r(2)},function(e,t){e.exports=r(3)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(16),i=r(7),s=r(9);t.createClientSocketTransport=function(e,t="utf-8"){let r,o=new Promise((e,t)=>{r=e});return new Promise((a,c)=>{let u=n.createServer(e=>{u.close(),r([new i.SocketMessageReader(e,t),new s.SocketMessageWriter(e,t)])});u.on("error",c),u.listen(e,"127.0.0.1",()=>{u.removeListener("error",c),a({onConnected:()=>o})})})},t.createServerSocketTransport=function(e,t="utf-8"){const r=n.createConnection(e,"127.0.0.1");return[new i.SocketMessageReader(r,t),new s.SocketMessageWriter(r,t)]}},function(e,t,r){"use strict";var n,i,s,o,a,c,u,p,l,f,m,h,d,_,g,y,R,b,v,A;r.r(t),r.d(t,"Position",(function(){return n})),r.d(t,"Range",(function(){return i})),r.d(t,"Location",(function(){return s})),r.d(t,"LocationLink",(function(){return o})),r.d(t,"Color",(function(){return a})),r.d(t,"ColorInformation",(function(){return c})),r.d(t,"ColorPresentation",(function(){return u})),r.d(t,"FoldingRangeKind",(function(){return p})),r.d(t,"FoldingRange",(function(){return l})),r.d(t,"DiagnosticRelatedInformation",(function(){return f})),r.d(t,"DiagnosticSeverity",(function(){return m})),r.d(t,"DiagnosticTag",(function(){return h})),r.d(t,"Diagnostic",(function(){return d})),r.d(t,"Command",(function(){return _})),r.d(t,"TextEdit",(function(){return g})),r.d(t,"TextDocumentEdit",(function(){return y})),r.d(t,"CreateFile",(function(){return R})),r.d(t,"RenameFile",(function(){return b})),r.d(t,"DeleteFile",(function(){return v})),r.d(t,"WorkspaceEdit",(function(){return A})),r.d(t,"WorkspaceChange",(function(){return Y})),r.d(t,"TextDocumentIdentifier",(function(){return E})),r.d(t,"VersionedTextDocumentIdentifier",(function(){return T})),r.d(t,"TextDocumentItem",(function(){return x})),r.d(t,"MarkupKind",(function(){return O})),r.d(t,"MarkupContent",(function(){return N})),r.d(t,"CompletionItemKind",(function(){return w})),r.d(t,"InsertTextFormat",(function(){return C})),r.d(t,"CompletionItemTag",(function(){return S})),r.d(t,"CompletionItem",(function(){return k})),r.d(t,"CompletionList",(function(){return L})),r.d(t,"MarkedString",(function(){return D})),r.d(t,"Hover",(function(){return G})),r.d(t,"ParameterInformation",(function(){return M})),r.d(t,"SignatureInformation",(function(){return I})),r.d(t,"DocumentHighlightKind",(function(){return F})),r.d(t,"DocumentHighlight",(function(){return B})),r.d(t,"SymbolKind",(function(){return P})),r.d(t,"SymbolTag",(function(){return W})),r.d(t,"SymbolInformation",(function(){return j})),r.d(t,"DocumentSymbol",(function(){return q})),r.d(t,"CodeActionKind",(function(){return H})),r.d(t,"CodeActionContext",(function(){return $})),r.d(t,"CodeAction",(function(){return X})),r.d(t,"CodeLens",(function(){return U})),r.d(t,"FormattingOptions",(function(){return V})),r.d(t,"DocumentLink",(function(){return z})),r.d(t,"SelectionRange",(function(){return K})),r.d(t,"EOL",(function(){return J})),r.d(t,"TextDocument",(function(){return Q})),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ee.objectLiteral(t)&&ee.number(t.line)&&ee.number(t.character)}}(n||(n={})),function(e){e.create=function(e,t,r,i){if(ee.number(e)&&ee.number(t)&&ee.number(r)&&ee.number(i))return{start:n.create(e,t),end:n.create(r,i)};if(n.is(e)&&n.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+r+", "+i+"]")},e.is=function(e){var t=e;return ee.objectLiteral(t)&&n.is(t.start)&&n.is(t.end)}}(i||(i={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ee.defined(t)&&i.is(t.range)&&(ee.string(t.uri)||ee.undefined(t.uri))}}(s||(s={})),function(e){e.create=function(e,t,r,n){return{targetUri:e,targetRange:t,targetSelectionRange:r,originSelectionRange:n}},e.is=function(e){var t=e;return ee.defined(t)&&i.is(t.targetRange)&&ee.string(t.targetUri)&&(i.is(t.targetSelectionRange)||ee.undefined(t.targetSelectionRange))&&(i.is(t.originSelectionRange)||ee.undefined(t.originSelectionRange))}}(o||(o={})),function(e){e.create=function(e,t,r,n){return{red:e,green:t,blue:r,alpha:n}},e.is=function(e){var t=e;return ee.number(t.red)&&ee.number(t.green)&&ee.number(t.blue)&&ee.number(t.alpha)}}(a||(a={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return i.is(t.range)&&a.is(t.color)}}(c||(c={})),function(e){e.create=function(e,t,r){return{label:e,textEdit:t,additionalTextEdits:r}},e.is=function(e){var t=e;return ee.string(t.label)&&(ee.undefined(t.textEdit)||g.is(t))&&(ee.undefined(t.additionalTextEdits)||ee.typedArray(t.additionalTextEdits,g.is))}}(u||(u={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(p||(p={})),function(e){e.create=function(e,t,r,n,i){var s={startLine:e,endLine:t};return ee.defined(r)&&(s.startCharacter=r),ee.defined(n)&&(s.endCharacter=n),ee.defined(i)&&(s.kind=i),s},e.is=function(e){var t=e;return ee.number(t.startLine)&&ee.number(t.startLine)&&(ee.undefined(t.startCharacter)||ee.number(t.startCharacter))&&(ee.undefined(t.endCharacter)||ee.number(t.endCharacter))&&(ee.undefined(t.kind)||ee.string(t.kind))}}(l||(l={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ee.defined(t)&&s.is(t.location)&&ee.string(t.message)}}(f||(f={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(m||(m={})),function(e){e.Unnecessary=1,e.Deprecated=2}(h||(h={})),function(e){e.create=function(e,t,r,n,i,s){var o={range:e,message:t};return ee.defined(r)&&(o.severity=r),ee.defined(n)&&(o.code=n),ee.defined(i)&&(o.source=i),ee.defined(s)&&(o.relatedInformation=s),o},e.is=function(e){var t=e;return ee.defined(t)&&i.is(t.range)&&ee.string(t.message)&&(ee.number(t.severity)||ee.undefined(t.severity))&&(ee.number(t.code)||ee.string(t.code)||ee.undefined(t.code))&&(ee.string(t.source)||ee.undefined(t.source))&&(ee.undefined(t.relatedInformation)||ee.typedArray(t.relatedInformation,f.is))}}(d||(d={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={title:e,command:t};return ee.defined(r)&&r.length>0&&(i.arguments=r),i},e.is=function(e){var t=e;return ee.defined(t)&&ee.string(t.title)&&ee.string(t.command)}}(_||(_={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ee.objectLiteral(t)&&ee.string(t.newText)&&i.is(t.range)}}(g||(g={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ee.defined(t)&&T.is(t.textDocument)&&Array.isArray(t.edits)}}(y||(y={})),function(e){e.create=function(e,t){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&ee.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ee.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ee.boolean(t.options.ignoreIfExists)))}}(R||(R={})),function(e){e.create=function(e,t,r){var n={kind:"rename",oldUri:e,newUri:t};return void 0===r||void 0===r.overwrite&&void 0===r.ignoreIfExists||(n.options=r),n},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ee.string(t.oldUri)&&ee.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ee.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ee.boolean(t.options.ignoreIfExists)))}}(b||(b={})),function(e){e.create=function(e,t){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ee.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ee.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ee.boolean(t.options.ignoreIfNotExists)))}}(v||(v={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ee.string(e.kind)?R.is(e)||b.is(e)||v.is(e):y.is(e)})))}}(A||(A={}));var E,T,x,O,N,w,C,S,k,L,D,G,M,I,F,B,P,W,j,q,H,$,X,U,V,z,K,Z=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(g.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(g.replace(e,t))},e.prototype.delete=function(e){this.edits.push(g.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),Y=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(y.is(e)){var r=new Z(e.edits);t._textEditChanges[e.textDocument.uri]=r}})):e.changes&&Object.keys(e.changes).forEach((function(r){var n=new Z(e.changes[r]);t._textEditChanges[r]=n})))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(T.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(n=this._textEditChanges[t.uri])){var r={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(r),n=new Z(i),this._textEditChanges[t.uri]=n}return n}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n;if(!(n=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,n=new Z(i),this._textEditChanges[e]=n}return n},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(R.create(e,t))},e.prototype.renameFile=function(e,t,r){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(b.create(e,t,r))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(v.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ee.defined(t)&&ee.string(t.uri)}}(E||(E={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ee.defined(t)&&ee.string(t.uri)&&(null===t.version||ee.number(t.version))}}(T||(T={})),function(e){e.create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},e.is=function(e){var t=e;return ee.defined(t)&&ee.string(t.uri)&&ee.string(t.languageId)&&ee.number(t.version)&&ee.string(t.text)}}(x||(x={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(O||(O={})),function(e){e.is=function(t){var r=t;return r===e.PlainText||r===e.Markdown}}(O||(O={})),function(e){e.is=function(e){var t=e;return ee.objectLiteral(e)&&O.is(t.kind)&&ee.string(t.value)}}(N||(N={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(w||(w={})),function(e){e.PlainText=1,e.Snippet=2}(C||(C={})),function(e){e.Deprecated=1}(S||(S={})),function(e){e.create=function(e){return{label:e}}}(k||(k={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(L||(L={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ee.string(t)||ee.objectLiteral(t)&&ee.string(t.language)&&ee.string(t.value)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ee.objectLiteral(t)&&(N.is(t.contents)||D.is(t.contents)||ee.typedArray(t.contents,D.is))&&(void 0===e.range||i.is(e.range))}}(G||(G={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(M||(M={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={label:e};return ee.defined(t)&&(i.documentation=t),ee.defined(r)?i.parameters=r:i.parameters=[],i}}(I||(I={})),function(e){e.Text=1,e.Read=2,e.Write=3}(F||(F={})),function(e){e.create=function(e,t){var r={range:e};return ee.number(t)&&(r.kind=t),r}}(B||(B={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(P||(P={})),function(e){e.Deprecated=1}(W||(W={})),function(e){e.create=function(e,t,r,n,i){var s={name:e,kind:t,location:{uri:n,range:r}};return i&&(s.containerName=i),s}}(j||(j={})),function(e){e.create=function(e,t,r,n,i,s){var o={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==s&&(o.children=s),o},e.is=function(e){var t=e;return t&&ee.string(t.name)&&ee.number(t.kind)&&i.is(t.range)&&i.is(t.selectionRange)&&(void 0===t.detail||ee.string(t.detail))&&(void 0===t.deprecated||ee.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(q||(q={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(H||(H={})),function(e){e.create=function(e,t){var r={diagnostics:e};return null!=t&&(r.only=t),r},e.is=function(e){var t=e;return ee.defined(t)&&ee.typedArray(t.diagnostics,d.is)&&(void 0===t.only||ee.typedArray(t.only,ee.string))}}($||($={})),function(e){e.create=function(e,t,r){var n={title:e};return _.is(t)?n.command=t:n.edit=t,void 0!==r&&(n.kind=r),n},e.is=function(e){var t=e;return t&&ee.string(t.title)&&(void 0===t.diagnostics||ee.typedArray(t.diagnostics,d.is))&&(void 0===t.kind||ee.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||_.is(t.command))&&(void 0===t.isPreferred||ee.boolean(t.isPreferred))&&(void 0===t.edit||A.is(t.edit))}}(X||(X={})),function(e){e.create=function(e,t){var r={range:e};return ee.defined(t)&&(r.data=t),r},e.is=function(e){var t=e;return ee.defined(t)&&i.is(t.range)&&(ee.undefined(t.command)||_.is(t.command))}}(U||(U={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ee.defined(t)&&ee.number(t.tabSize)&&ee.boolean(t.insertSpaces)}}(V||(V={})),function(e){e.create=function(e,t,r){return{range:e,target:t,data:r}},e.is=function(e){var t=e;return ee.defined(t)&&i.is(t.range)&&(ee.undefined(t.target)||ee.string(t.target))}}(z||(z={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&i.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(K||(K={}));var Q,J=["\n","\r\n","\r"];!function(e){e.create=function(e,t,r,n){return new te(e,t,r,n)},e.is=function(e){var t=e;return!!(ee.defined(t)&&ee.string(t.uri)&&(ee.undefined(t.languageId)||ee.string(t.languageId))&&ee.number(t.lineCount)&&ee.func(t.getText)&&ee.func(t.positionAt)&&ee.func(t.offsetAt))},e.applyEdits=function(e,t){for(var r=e.getText(),n=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0;var i=t.slice(0,n);var s=t.slice(n);e(i,r);e(s,r);var o=0;var a=0;var c=0;for(;o<i.length&&a<s.length;){var u=r(i[o],s[a]);t[c++]=u<=0?i[o++]:s[a++]}for(;o<i.length;)t[c++]=i[o++];for(;a<s.length;)t[c++]=s[a++];return t}(t,(function(e,t){var r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r})),i=r.length,s=n.length-1;s>=0;s--){var o=n[s],a=e.offsetAt(o.range.start),c=e.offsetAt(o.range.end);if(!(c<=i))throw new Error("Overlapping edit");r=r.substring(0,a)+o.newText+r.substring(c,r.length),i=a}return r}}(Q||(Q={}));var ee,te=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,r=!0,n=0;n<t.length;n++){r&&(e.push(n),r=!1);var i=t.charAt(n);r="\r"===i||"\n"===i,"\r"===i&&n+1<t.length&&"\n"===t.charAt(n+1)&&n++}r&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,i=t.length;if(0===i)return n.create(0,e);for(;r<i;){var s=Math.floor((r+i)/2);t[s]>e?i=s:r=s+1}var o=r-1;return n.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ee||(ee={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(20),i=r(4),s=r(21),o=r(22);t.ImplementationRequest=o.ImplementationRequest;const a=r(23);t.TypeDefinitionRequest=a.TypeDefinitionRequest;const c=r(24);t.WorkspaceFoldersRequest=c.WorkspaceFoldersRequest,t.DidChangeWorkspaceFoldersNotification=c.DidChangeWorkspaceFoldersNotification;const u=r(25);t.ConfigurationRequest=u.ConfigurationRequest;const p=r(26);t.DocumentColorRequest=p.DocumentColorRequest,t.ColorPresentationRequest=p.ColorPresentationRequest;const l=r(27);t.FoldingRangeRequest=l.FoldingRangeRequest;const f=r(28);t.DeclarationRequest=f.DeclarationRequest;const m=r(29);t.SelectionRangeRequest=m.SelectionRangeRequest;const h=r(30);var d,_;t.WorkDoneProgress=h.WorkDoneProgress,t.WorkDoneProgressCreateRequest=h.WorkDoneProgressCreateRequest,t.WorkDoneProgressCancelNotification=h.WorkDoneProgressCancelNotification,function(e){e.is=function(e){const t=e;return n.string(t.language)||n.string(t.scheme)||n.string(t.pattern)}}(d=t.DocumentFilter||(t.DocumentFilter={})),function(e){e.is=function(e){if(!Array.isArray(e))return!1;for(let t of e)if(!n.string(t)&&!d.is(t))return!1;return!0}}(_=t.DocumentSelector||(t.DocumentSelector={})),function(e){e.type=new s.ProtocolRequestType("client/registerCapability")}(t.RegistrationRequest||(t.RegistrationRequest={})),function(e){e.type=new s.ProtocolRequestType("client/unregisterCapability")}(t.UnregistrationRequest||(t.UnregistrationRequest={})),function(e){e.Create="create",e.Rename="rename",e.Delete="delete"}(t.ResourceOperationKind||(t.ResourceOperationKind={})),function(e){e.Abort="abort",e.Transactional="transactional",e.TextOnlyTransactional="textOnlyTransactional",e.Undo="undo"}(t.FailureHandlingKind||(t.FailureHandlingKind={})),function(e){e.hasId=function(e){const t=e;return t&&n.string(t.id)&&t.id.length>0}}(t.StaticRegistrationOptions||(t.StaticRegistrationOptions={})),function(e){e.is=function(e){const t=e;return t&&(null===t.documentSelector||_.is(t.documentSelector))}}(t.TextDocumentRegistrationOptions||(t.TextDocumentRegistrationOptions={})),function(e){e.is=function(e){const t=e;return n.objectLiteral(t)&&(void 0===t.workDoneProgress||n.boolean(t.workDoneProgress))},e.hasWorkDoneProgress=function(e){const t=e;return t&&n.boolean(t.workDoneProgress)}}(t.WorkDoneProgressOptions||(t.WorkDoneProgressOptions={})),function(e){e.type=new s.ProtocolRequestType("initialize")}(t.InitializeRequest||(t.InitializeRequest={})),function(e){e.unknownProtocolVersion=1}(t.InitializeError||(t.InitializeError={})),function(e){e.type=new s.ProtocolNotificationType("initialized")}(t.InitializedNotification||(t.InitializedNotification={})),function(e){e.type=new s.ProtocolRequestType0("shutdown")}(t.ShutdownRequest||(t.ShutdownRequest={})),function(e){e.type=new s.ProtocolNotificationType0("exit")}(t.ExitNotification||(t.ExitNotification={})),function(e){e.type=new s.ProtocolNotificationType("workspace/didChangeConfiguration")}(t.DidChangeConfigurationNotification||(t.DidChangeConfigurationNotification={})),function(e){e.Error=1,e.Warning=2,e.Info=3,e.Log=4}(t.MessageType||(t.MessageType={})),function(e){e.type=new s.ProtocolNotificationType("window/showMessage")}(t.ShowMessageNotification||(t.ShowMessageNotification={})),function(e){e.type=new s.ProtocolRequestType("window/showMessageRequest")}(t.ShowMessageRequest||(t.ShowMessageRequest={})),function(e){e.type=new s.ProtocolNotificationType("window/logMessage")}(t.LogMessageNotification||(t.LogMessageNotification={})),function(e){e.type=new s.ProtocolNotificationType("telemetry/event")}(t.TelemetryEventNotification||(t.TelemetryEventNotification={})),function(e){e.None=0,e.Full=1,e.Incremental=2}(t.TextDocumentSyncKind||(t.TextDocumentSyncKind={})),function(e){e.method="textDocument/didOpen",e.type=new s.ProtocolNotificationType(e.method)}(t.DidOpenTextDocumentNotification||(t.DidOpenTextDocumentNotification={})),function(e){e.method="textDocument/didChange",e.type=new s.ProtocolNotificationType(e.method)}(t.DidChangeTextDocumentNotification||(t.DidChangeTextDocumentNotification={})),function(e){e.method="textDocument/didClose",e.type=new s.ProtocolNotificationType(e.method)}(t.DidCloseTextDocumentNotification||(t.DidCloseTextDocumentNotification={})),function(e){e.method="textDocument/didSave",e.type=new s.ProtocolNotificationType(e.method)}(t.DidSaveTextDocumentNotification||(t.DidSaveTextDocumentNotification={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(t.TextDocumentSaveReason||(t.TextDocumentSaveReason={})),function(e){e.method="textDocument/willSave",e.type=new s.ProtocolNotificationType(e.method)}(t.WillSaveTextDocumentNotification||(t.WillSaveTextDocumentNotification={})),function(e){e.method="textDocument/willSaveWaitUntil",e.type=new s.ProtocolRequestType(e.method)}(t.WillSaveTextDocumentWaitUntilRequest||(t.WillSaveTextDocumentWaitUntilRequest={})),function(e){e.type=new s.ProtocolNotificationType("workspace/didChangeWatchedFiles")}(t.DidChangeWatchedFilesNotification||(t.DidChangeWatchedFilesNotification={})),function(e){e.Created=1,e.Changed=2,e.Deleted=3}(t.FileChangeType||(t.FileChangeType={})),function(e){e.Create=1,e.Change=2,e.Delete=4}(t.WatchKind||(t.WatchKind={})),function(e){e.type=new s.ProtocolNotificationType("textDocument/publishDiagnostics")}(t.PublishDiagnosticsNotification||(t.PublishDiagnosticsNotification={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.TriggerForIncompleteCompletions=3}(t.CompletionTriggerKind||(t.CompletionTriggerKind={})),function(e){e.method="textDocument/completion",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.CompletionRequest||(t.CompletionRequest={})),function(e){e.method="completionItem/resolve",e.type=new s.ProtocolRequestType(e.method)}(t.CompletionResolveRequest||(t.CompletionResolveRequest={})),function(e){e.method="textDocument/hover",e.type=new s.ProtocolRequestType(e.method)}(t.HoverRequest||(t.HoverRequest={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.ContentChange=3}(t.SignatureHelpTriggerKind||(t.SignatureHelpTriggerKind={})),function(e){e.method="textDocument/signatureHelp",e.type=new s.ProtocolRequestType(e.method)}(t.SignatureHelpRequest||(t.SignatureHelpRequest={})),function(e){e.method="textDocument/definition",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.DefinitionRequest||(t.DefinitionRequest={})),function(e){e.method="textDocument/references",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.ReferencesRequest||(t.ReferencesRequest={})),function(e){e.method="textDocument/documentHighlight",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.DocumentHighlightRequest||(t.DocumentHighlightRequest={})),function(e){e.method="textDocument/documentSymbol",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.DocumentSymbolRequest||(t.DocumentSymbolRequest={})),function(e){e.method="textDocument/codeAction",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.CodeActionRequest||(t.CodeActionRequest={})),function(e){e.method="workspace/symbol",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.WorkspaceSymbolRequest||(t.WorkspaceSymbolRequest={})),function(e){e.type=new s.ProtocolRequestType("textDocument/codeLens"),e.resultType=new i.ProgressType}(t.CodeLensRequest||(t.CodeLensRequest={})),function(e){e.type=new s.ProtocolRequestType("codeLens/resolve")}(t.CodeLensResolveRequest||(t.CodeLensResolveRequest={})),function(e){e.method="textDocument/documentLink",e.type=new s.ProtocolRequestType(e.method),e.resultType=new i.ProgressType}(t.DocumentLinkRequest||(t.DocumentLinkRequest={})),function(e){e.type=new s.ProtocolRequestType("documentLink/resolve")}(t.DocumentLinkResolveRequest||(t.DocumentLinkResolveRequest={})),function(e){e.method="textDocument/formatting",e.type=new s.ProtocolRequestType(e.method)}(t.DocumentFormattingRequest||(t.DocumentFormattingRequest={})),function(e){e.method="textDocument/rangeFormatting",e.type=new s.ProtocolRequestType(e.method)}(t.DocumentRangeFormattingRequest||(t.DocumentRangeFormattingRequest={})),function(e){e.method="textDocument/onTypeFormatting",e.type=new s.ProtocolRequestType(e.method)}(t.DocumentOnTypeFormattingRequest||(t.DocumentOnTypeFormattingRequest={})),function(e){e.method="textDocument/rename",e.type=new s.ProtocolRequestType(e.method)}(t.RenameRequest||(t.RenameRequest={})),function(e){e.method="textDocument/prepareRename",e.type=new s.ProtocolRequestType(e.method)}(t.PrepareRenameRequest||(t.PrepareRenameRequest={})),function(e){e.type=new s.ProtocolRequestType("workspace/executeCommand")}(t.ExecuteCommandRequest||(t.ExecuteCommandRequest={})),function(e){e.type=new s.ProtocolRequestType("workspace/applyEdit")}(t.ApplyWorkspaceEditRequest||(t.ApplyWorkspaceEditRequest={}))},function(e,t,r){"use strict";function n(e){return"string"==typeof e||e instanceof String}function i(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=i,t.stringArray=function(e){return i(e)&&e.every(e=>n(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.objectLiteral=function(e){return null!==e&&"object"==typeof e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4);class i extends n.RequestType0{constructor(e){super(e)}}t.ProtocolRequestType0=i;class s extends n.RequestType{constructor(e){super(e)}}t.ProtocolRequestType=s;class o extends n.NotificationType{constructor(e){super(e)}}t.ProtocolNotificationType=o;class a extends n.NotificationType0{constructor(e){super(e)}}t.ProtocolNotificationType0=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.method="textDocument/implementation",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.ImplementationRequest||(t.ImplementationRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.method="textDocument/typeDefinition",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.TypeDefinitionRequest||(t.TypeDefinitionRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21);!function(e){e.type=new n.ProtocolRequestType0("workspace/workspaceFolders")}(t.WorkspaceFoldersRequest||(t.WorkspaceFoldersRequest={})),function(e){e.type=new n.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")}(t.DidChangeWorkspaceFoldersNotification||(t.DidChangeWorkspaceFoldersNotification={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21);!function(e){e.type=new n.ProtocolRequestType("workspace/configuration")}(t.ConfigurationRequest||(t.ConfigurationRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.method="textDocument/documentColor",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.DocumentColorRequest||(t.DocumentColorRequest={})),function(e){e.type=new i.ProtocolRequestType("textDocument/colorPresentation")}(t.ColorPresentationRequest||(t.ColorPresentationRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.method="textDocument/foldingRange",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.FoldingRangeRequest||(t.FoldingRangeRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.method="textDocument/declaration",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.DeclarationRequest||(t.DeclarationRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.method="textDocument/selectionRange",e.type=new i.ProtocolRequestType(e.method),e.resultType=new n.ProgressType}(t.SelectionRangeRequest||(t.SelectionRangeRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4),i=r(21);!function(e){e.type=new n.ProgressType}(t.WorkDoneProgress||(t.WorkDoneProgress={})),function(e){e.type=new i.ProtocolRequestType("window/workDoneProgress/create")}(t.WorkDoneProgressCreateRequest||(t.WorkDoneProgressCreateRequest={})),function(e){e.type=new i.ProtocolNotificationType("window/workDoneProgress/cancel")}(t.WorkDoneProgressCancelNotification||(t.WorkDoneProgressCancelNotification={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21);!function(e){e.method="textDocument/prepareCallHierarchy",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyPrepareRequest||(t.CallHierarchyPrepareRequest={})),function(e){e.method="callHierarchy/incomingCalls",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyIncomingCallsRequest||(t.CallHierarchyIncomingCallsRequest={})),function(e){e.method="callHierarchy/outgoingCalls",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyOutgoingCallsRequest||(t.CallHierarchyOutgoingCallsRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(21);!function(e){e.comment="comment",e.keyword="keyword",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.namespace="namespace",e.type="type",e.struct="struct",e.class="class",e.interface="interface",e.enum="enum",e.typeParameter="typeParameter",e.function="function",e.member="member",e.property="property",e.macro="macro",e.variable="variable",e.parameter="parameter",e.label="label"}(t.SemanticTokenTypes||(t.SemanticTokenTypes={})),function(e){e.documentation="documentation",e.declaration="declaration",e.definition="definition",e.reference="reference",e.static="static",e.abstract="abstract",e.deprecated="deprecated",e.async="async",e.volatile="volatile",e.readonly="readonly"}(t.SemanticTokenModifiers||(t.SemanticTokenModifiers={})),function(e){e.is=function(e){const t=e;return void 0!==t&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}}(t.SemanticTokens||(t.SemanticTokens={})),function(e){e.method="textDocument/semanticTokens",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensRequest||(t.SemanticTokensRequest={})),function(e){e.method="textDocument/semanticTokens/edits",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensEditsRequest||(t.SemanticTokensEditsRequest={})),function(e){e.method="textDocument/semanticTokens/range",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensRangeRequest||(t.SemanticTokensRangeRequest={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3),i=r(34);t.ConfigurationFeature=e=>(class extends e{getConfiguration(e){return e?i.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let t={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(n.ConfigurationRequest.type,t).then(t=>Array.isArray(e)?t:t[0])}})},function(e,t,r){"use strict";function n(e){return"string"==typeof e||e instanceof String}function i(e){return"function"==typeof e}function s(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=i,t.array=s,t.stringArray=function(e){return s(e)&&e.every(e=>n(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.thenable=function(e){return e&&i(e.then)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3);t.WorkspaceFoldersFeature=e=>(class extends e{initialize(e){let t=e.workspace;t&&t.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new n.Emitter,this.connection.onNotification(n.DidChangeWorkspaceFoldersNotification.type,e=>{this._onDidChangeWorkspaceFolders.fire(e.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(n.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(n.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3),i=r(37);class s{constructor(e,t){this._connection=e,this._token=t,s.Instances.set(this._token,this),this._source=new n.CancellationTokenSource}get token(){return this._source.token}begin(e,t,r,i){let s={kind:"begin",title:e,percentage:t,message:r,cancellable:i};this._connection.sendProgress(n.WorkDoneProgress.type,this._token,s)}report(e,t){let r={kind:"report"};"number"==typeof e?(r.percentage=e,void 0!==t&&(r.message=t)):r.message=e,this._connection.sendProgress(n.WorkDoneProgress.type,this._token,r)}done(){s.Instances.delete(this._token),this._source.dispose(),this._connection.sendProgress(n.WorkDoneProgress.type,this._token,{kind:"end"})}cancel(){this._source.cancel()}}s.Instances=new Map;class o{constructor(){this._source=new n.CancellationTokenSource}get token(){return this._source.token}begin(){}report(){}done(){}}var a;t.attachWorkDone=function(e,t){if(void 0===t||void 0===t.workDoneToken)return new o;const r=t.workDoneToken;return delete t.workDoneToken,new s(e,r)},t.ProgressFeature=e=>(class extends e{initialize(e){var t;!0===(null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.workDoneProgress)&&(this._progressSupported=!0,this.connection.onNotification(n.WorkDoneProgressCancelNotification.type,e=>{let t=s.Instances.get(e.token);void 0!==t&&t.cancel()}))}attachWorkDoneProgress(e){return void 0===e?new o:new s(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){const e=i.generateUuid();return this.connection.sendRequest(n.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>{return new s(this.connection,e)})}return Promise.resolve(new o)}}),function(e){e.type=new n.ProgressType}(a||(a={}));class c{constructor(e,t){this._connection=e,this._token=t}report(e){this._connection.sendProgress(a.type,this._token,e)}}t.attachPartialResult=function(e,t){if(void 0===t||void 0===t.partialResultToken)return;const r=t.partialResultToken;return delete t.partialResultToken,new c(e,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}}class i extends n{constructor(){super([i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),"-",i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),"-","4",i._randomHex(),i._randomHex(),i._randomHex(),"-",i._oneOf(i._timeHighBits),i._randomHex(),i._randomHex(),i._randomHex(),"-",i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex(),i._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return i._oneOf(i._chars)}}function s(){return new i}i._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"],i._timeHighBits=["8","9","a","b"],t.empty=new n("00000000-0000-0000-0000-000000000000"),t.v4=s;const o=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function a(e){return o.test(e)}t.isUUID=a,t.parse=function(e){if(!a(e))throw new Error("invalid uuid");return new n(e)},t.generateUuid=function(){return s().asHex()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(39),i=r(13),s=r(40),o=r(41);function a(){return"win32"===process.platform}function c(e,t,r,n){const a=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((c,u)=>{let p=process.env,l=Object.create(null);Object.keys(p).forEach(e=>l[e]=p[e]),t&&s.existsSync(t)&&(l.NODE_PATH?l.NODE_PATH=t+i.delimiter+l.NODE_PATH:l.NODE_PATH=t,n&&n(`NODE_PATH value is: ${l.NODE_PATH}`)),l.ELECTRON_RUN_AS_NODE="1";try{let t=o.fork("",[],{cwd:r,env:l,execArgv:["-e",a]});if(void 0===t.pid)return void u(new Error(`Starting process to resolve node module ${e} failed`));t.on("error",e=>{u(e)}),t.on("message",r=>{"r"===r.c&&(t.send({c:"e"}),r.s?c(r.r):u(new Error(`Failed to resolve module: ${e}`)))});let n={c:"rs",a:e};t.send(n)}catch(e){u(e)}})}function u(e){let t="npm";const r=Object.create(null);Object.keys(process.env).forEach(e=>r[e]=process.env[e]),r.NO_UPDATE_NOTIFIER="true";const n={encoding:"utf8",env:r};a()&&(t="npm.cmd",n.shell=!0);let s=()=>{};try{process.on("SIGPIPE",s);let r=o.spawnSync(t,["config","get","prefix"],n).stdout;if(!r)return void(e&&e("'npm config get prefix' didn't return a value."));let c=r.trim();return e&&e(`'npm config get prefix' value is: ${c}`),c.length>0?a()?i.join(c,"node_modules"):i.join(c,"lib","node_modules"):void 0}catch(e){return}finally{process.removeListener("SIGPIPE",s)}}var p;t.uriToFilePath=function(e){let t=n.parse(e);if("file:"!==t.protocol||!t.path)return;let r=t.path.split("/");for(var s=0,o=r.length;s<o;s++)r[s]=decodeURIComponent(r[s]);if("win32"===process.platform&&r.length>1){let e=r[0],t=r[1];0===e.length&&t.length>1&&":"===t[1]&&r.shift()}return i.normalize(r.join("/"))},t.resolve=c,t.resolveGlobalNodePath=u,t.resolveGlobalYarnPath=function(e){let t="yarn",r={encoding:"utf8"};a()&&(t="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let s=o.spawnSync(t,["global","dir","--json"],r),a=s.stdout;if(!a)return void(e&&(e("'yarn global dir' didn't return a value."),s.stderr&&e(s.stderr)));let c=a.trim().split(/\r?\n/);for(let e of c)try{let t=JSON.parse(e);if("log"===t.type)return i.join(t.data,"node_modules")}catch(e){}return}catch(e){return}finally{process.removeListener("SIGPIPE",n)}},function(e){let t=void 0;function r(){return void 0!==t?t:t="win32"!==process.platform&&(!s.existsSync(__filename.toUpperCase())||!s.existsSync(__filename.toLowerCase()))}e.isCaseSensitive=r,e.isParent=function(e,t){return r()?0===i.normalize(t).indexOf(i.normalize(e)):0===i.normalize(t).toLowerCase().indexOf(i.normalize(e).toLowerCase())}}(p=t.FileSystem||(t.FileSystem={})),t.resolveModulePath=function(e,t,r,n){return r?(i.isAbsolute(r)||(r=i.join(e,r)),c(t,r,r,n).then(e=>p.isParent(r,e)?e:Promise.reject(new Error(`Failed to load ${t} from node path location.`))).then(void 0,r=>c(t,u(n),e,n))):c(t,u(n),e,n)}},function(e,t){e.exports=r(4)},function(e,t){e.exports=r(5)},function(e,t){e.exports=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3);t.CallHierarchyFeature=e=>(class extends e{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(n.Proposed.CallHierarchyPrepareRequest.type,(t,r)=>e(t,r,this.attachWorkDoneProgress(t),void 0))},onIncomingCalls:e=>{const t=n.Proposed.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onOutgoingCalls:e=>{const t=n.Proposed.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))}}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3);t.SemanticTokensFeature=e=>(class extends e{get semanticTokens(){return{on:e=>{const t=n.Proposed.SemanticTokensRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onEdits:e=>{const t=n.Proposed.SemanticTokensEditsRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onRange:e=>{const t=n.Proposed.SemanticTokensRangeRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))}}}});t.SemanticTokensBuilder=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,t,r,n,i){let s=e,o=t;this._dataLen>0&&0===(s-=this._prevLine)&&(o-=this._prevChar),this._data[this._dataLen++]=s,this._data[this._dataLen++]=o,this._data[this._dataLen++]=r,this._data[this._dataLen++]=n,this._data[this._dataLen++]=i,this._prevLine=e,this._prevChar=t}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return void 0!==this._prevData}buildEdits(){if(void 0!==this._prevData){const e=this._prevData.length,t=this._data.length;let r=0;for(;r<t&&r<e&&this._prevData[r]===this._data[r];)r++;if(r<t&&r<e){let n=0;for(;n<t&&n<e&&this._prevData[e-1-n]===this._data[t-1-n];)n++;const i=this._data.slice(r,t-n);return{resultId:this.id,edits:[{start:r,deleteCount:e-n-r,data:i}]}}return r<t?{resultId:this.id,edits:[{start:r,deleteCount:0,data:this._data.slice(r)}]}:r<e?{resultId:this.id,edits:[{start:r,deleteCount:e-r}]}:{resultId:this.id,edits:[]}}return this.build()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortTexts={one:"00001",two:"00002",three:"00003",four:"00004"},t.projectRootPatterns=[".git","autoload","plugin"]},,,function(e,t,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}c((n=n.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}},o=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=r(41),u=a(r(48)),p=a(r(40)),l=a(r(13)),f=r(2),m=r(53),h=r(55);function d(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new Promise((function(r){e.apply(void 0,o(t,[function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r(e)}]))}))}}t.isSomeMatchPattern=function(e,t){return e.some((function(e){return e.test(t)}))},t.executeFile=function(e,t,r,n){return new Promise((function(i,s){var o,a="",u="",p=!1;r=(r||[]).map((function(t){return/%text/.test(t)?(p=!0,t.replace(/%text/g,e.toString())):t}));var l=c.spawn(t,r,n);l.stdout.on("data",(function(e){a+=e})),l.stderr.on("data",(function(e){u+=e})),l.on("error",(function(e){s(o=e)})),l.on("close",(function(e){o||i({code:e,stdout:a,stderr:u})})),p||e.pipe(l.stdin).on("error",(function(){}))}))},t.pcb=d,t.findProjectRoot=function(e,t){return i(this,void 0,void 0,(function(){var r,n,i,o,a,c,p,f,m;return s(this,(function(s){switch(s.label){case 0:r=l.default.dirname(e),n=[].concat(t),i="",o=0,a=n,s.label=1;case 1:return o<a.length?(c=a[o],[4,d(u.default)(r,c)]):[3,4];case 2:p=s.sent(),f=p[0],m=p[1],!f&&m&&"/"!==m&&m.length>i.length&&(i=m),s.label=3;case 3:return o++,[3,1];case 4:return i.length?[2,i]:[2,r]}}))}))},t.markupSnippets=function(e){return["```vim",e.replace(/\$\{[0-9]+(:([^}]+))?\}/g,"$2"),"```"].join("\n")},t.getWordFromPosition=function(e,t){if(e){var r=e.getText(f.Range.create(f.Position.create(t.line,t.character),f.Position.create(t.line,t.character+1)));if(r&&h.keywordPattern.test(r)){var n=e.getText(f.Range.create(f.Position.create(t.line,0),f.Position.create(t.line+1,0)));if(!h.commentPattern.test(n)){var i=n.slice(0,t.character),s=n.slice(t.character),o=i.match(h.wordPrePattern),a=s.match(h.wordNextPattern),c=""+(o&&o[1]||"")+(a&&a[1]||"");return{word:c,left:o&&o[1]||"",right:a&&a[1]||"",wordLeft:o&&o[1]?i.replace(new RegExp(o[1]+"$"),c):""+i+c,wordRight:a&&a[1]?s.replace(new RegExp("^"+a[1]),c):""+c+s}}}}},t.handleParse=function(e){return i(this,void 0,void 0,(function(){var t,r;return s(this,(function(n){t=e instanceof Object?e.getText():e,r=new m.StringReader(t.split(/\r\n|\r|\n/));try{return[2,[new m.VimLParser(!0).parse(r),""]]}catch(e){return[2,[null,e]]}return[2]}))}))},t.removeSnippets=function(e){return void 0===e&&(e=[]),e.map((function(e){return e.insertTextFormat===f.InsertTextFormat.Snippet?n(n({},e),{insertText:e.label,insertTextFormat:f.InsertTextFormat.PlainText}):e}))},t.isSymbolLink=function(e){return i(void 0,void 0,void 0,(function(){return s(this,(function(t){return[2,new Promise((function(t){p.default.lstat(e,(function(e,r){t({err:e,stats:r&&r.isSymbolicLink()})}))}))]}))}))},t.getRealPath=function(e){return i(void 0,void 0,void 0,(function(){var r,n,i;return s(this,(function(s){switch(s.label){case 0:return[4,t.isSymbolLink(e)];case 1:return r=s.sent(),n=r.err,i=r.stats,!n&&i?[2,new Promise((function(t){p.default.realpath(e,(function(r,n){if(r)return t(e);t(n)}))}))]:[2,e]}}))}))}},function(e,t,r){var n=r(40),i=r(13),s=r(49),o=(r(50),r(52).EventEmitter),a=n.exists?n.exists:i.exists,c=n.existsSync?n.existsSync:i.existsSync;function u(e,t,r,n){if(!(this instanceof u))return new u(e,t,r,n);"function"==typeof r&&(n=r,r={}),r=r||{},o.call(this),this.found=!1,this.stopPlease=!1;var s=this;if("string"==typeof t){var c=t;t=function(e,t){return a(i.join(e,c),t)}}n&&(this.on("found",(function(e){r.verbose&&console.log(("found "+e).green),n(null,e),s.stop()})),this.on("end",(function(){r.verbose&&console.log("end".grey),s.found||n(new Error("not found"))})),this.on("error",(function(e){r.verbose&&console.log("error".red,e),n(e)}))),this._find(e,t,r,n)}e.exports=function(e,t,r,n){return u(e,t,r,n)},s.inherits(u,o),u.prototype._find=function(e,t,r,n){var s=this;t(e,(function(o){r.verbose&&console.log(("traverse "+e).grey),o&&(s.found=!0,s.emit("found",e));var a=i.join(e,"..");return s.stopPlease?s.emit("end"):e===a?s.emit("end"):-1!==e.indexOf("../../")?s.emit("error",new Error(e+" is not correct.")):void s._find(a,t,r,n)}))},u.prototype.stop=function(){this.stopPlease=!0},e.exports.FindUp=u,e.exports.sync=function(e,t){if("string"==typeof t){var r=t;t=function(e){return c(i.join(e,r))}}for(var n=e;e!==i.join(e,"..");){if(-1!==e.indexOf("../../"))throw new Error(n+" is not correct.");if(t(e))return e;e=i.join(e,"..")}throw new Error("not found")}},function(e,t){e.exports=r(7)},function(e,t,r){var n=!1;if(void 0!==e&&(n=!0),n)t.mode="console";else{e={},t={};t.mode="browser"}var i=function(e,r){t[e]=function(e){return r.apply(e)},String.prototype.__defineGetter__(e,r)};function s(e,r){var n;if("console"===t.mode)n={bold:["",""],italic:["",""],underline:["",""],inverse:["",""],strikethrough:["",""],white:["",""],grey:["",""],black:["",""],blue:["",""],cyan:["",""],green:["",""],magenta:["",""],red:["",""],yellow:["",""],whiteBG:["",""],greyBG:["",""],blackBG:["",""],blueBG:["",""],cyanBG:["",""],greenBG:["",""],magentaBG:["",""],redBG:["",""],yellowBG:["",""]};else if("browser"===t.mode)n={bold:["<b>","</b>"],italic:["<i>","</i>"],underline:["<u>","</u>"],inverse:['<span style="background-color:black;color:white;">',"</span>"],strikethrough:["<del>","</del>"],white:['<span style="color:white;">',"</span>"],grey:['<span style="color:gray;">',"</span>"],black:['<span style="color:black;">',"</span>"],blue:['<span style="color:blue;">',"</span>"],cyan:['<span style="color:cyan;">',"</span>"],green:['<span style="color:green;">',"</span>"],magenta:['<span style="color:magenta;">',"</span>"],red:['<span style="color:red;">',"</span>"],yellow:['<span style="color:yellow;">',"</span>"],whiteBG:['<span style="background-color:white;">',"</span>"],greyBG:['<span style="background-color:gray;">',"</span>"],blackBG:['<span style="background-color:black;">',"</span>"],blueBG:['<span style="background-color:blue;">',"</span>"],cyanBG:['<span style="background-color:cyan;">',"</span>"],greenBG:['<span style="background-color:green;">',"</span>"],magentaBG:['<span style="background-color:magenta;">',"</span>"],redBG:['<span style="background-color:red;">',"</span>"],yellowBG:['<span style="background-color:yellow;">',"</span>"]};else{if("none"===t.mode)return e+"";console.log('unsupported mode, try "browser", "console" or "none"')}return n[r][0]+e+n[r][1]}function o(e){var r=["__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","charAt","constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf","charCodeAt","indexOf","lastIndexof","length","localeCompare","match","replace","search","slice","split","substring","toLocaleLowerCase","toLocaleUpperCase","toLowerCase","toUpperCase","trim","trimLeft","trimRight"];Object.keys(e).forEach((function(n){-1!==r.indexOf(n)?console.log("warn: ".red+("String.prototype"+n).magenta+" is probably something you don't want to override. Ignoring style name"):"string"==typeof e[n]?i(n,(function(){return t[e[n]](this)})):i(n,(function(){for(var r=this,i=0;i<e[n].length;i++)r=t[e[n][i]](r);return r}))}))}["bold","underline","strikethrough","italic","inverse","grey","black","yellow","red","green","blue","white","cyan","magenta","greyBG","blackBG","yellowBG","redBG","greenBG","blueBG","whiteBG","cyanBG","magentaBG"].forEach((function(e){i(e,(function(){return s(this,e)}))}));var a,c=(a=["red","yellow","green","blue","magenta"],function(e,t,r){return" "===e?e:s(e,a[t++%a.length])});t.themes={},t.addSequencer=function(e,t){i(e,function(e){return function(){if(!n)return this.replace(/( )/,"$1");var t=this.split("");return(t=t.map(e)).join("")}}(t))},t.addSequencer("rainbow",c),t.addSequencer("zebra",(function(e,t,r){return t%2==0?e:e.inverse})),t.setTheme=function(e){if("string"==typeof e)try{return t.themes[e]=r(51)(e),o(t.themes[e]),t.themes[e]}catch(e){return console.log(e),e}else o(e)},i("stripColors",(function(){return(""+this).replace(/\x1B\[\d+m/g,"")})),i("zalgo",(function(){return function(e,t){var r={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},n=[].concat(r.up,r.down,r.mid);function i(e){return Math.floor(Math.random()*e)}function s(e){var t=!1;return n.filter((function(r){t=r===e})),t}return function(e,t){var n,o,a="";for(o in(t=t||{}).up=t.up||!0,t.mid=t.mid||!0,t.down=t.down||!0,t.size=t.size||"maxi",e=e.split(""))if(!s(o)){switch(a+=e[o],n={up:0,down:0,mid:0},t.size){case"mini":n.up=i(8),n.min=i(2),n.down=i(8);break;case"maxi":n.up=i(16)+3,n.min=i(4)+1,n.down=i(64)+3;break;default:n.up=i(8)+1,n.mid=i(6)/2,n.down=i(8)+1}var c=["up","mid","down"];for(var u in c)for(var p=c[u],l=0;l<=n[p];l++)t[p]&&(a+=r[p][i(r[p].length)])}return a}(e)}(this)}))},function(e,t){function r(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}r.keys=function(){return[]},r.resolve=r,e.exports=r,r.id=51},function(e,t){e.exports=r(8)},function(e,t,r){(function(e){//!/usr/bin/env nodejs
  2. var t=r(40),n=r(49);var i={"[0-9a-zA-Z]":"[0-9a-zA-Z]","[@*!=><&~#]":"[@*!=><&~#]","\\<ARGOPT\\>":"\\bARGOPT\\b","\\<BANG\\>":"\\bBANG\\b","\\<EDITCMD\\>":"\\bEDITCMD\\b","\\<NOTRLCOM\\>":"\\bNOTRLCOM\\b","\\<TRLBAR\\>":"\\bTRLBAR\\b","\\<USECTRLV\\>":"\\bUSECTRLV\\b","\\<USERCMD\\>":"\\bUSERCMD\\b","\\<\\(XFILE\\|FILES\\|FILE1\\)\\>":"\\b(XFILE|FILES|FILE1)\\b","\\S":"\\S","\\a":"[A-Za-z]","\\d":"\\d","\\h":"[A-Za-z_]","\\s":"\\s","\\v^d%[elete][lp]$":"^d(elete|elet|ele|el|e)[lp]$","\\v^s%(c[^sr][^i][^p]|g|i[^mlg]|I|r[^e])":"^s(c[^sr][^i][^p]|g|i[^mlg]|I|r[^e])","\\w":"[0-9A-Za-z_]","\\w\\|[:#]":"[0-9A-Za-z_]|[:#]","\\x":"[0-9A-Fa-f]","^++":"^++","^++bad=\\(keep\\|drop\\|.\\)\\>":"^\\+\\+bad=(keep|drop|.)\\b","^++bad=drop":"^\\+\\+bad=drop","^++bad=keep":"^\\+\\+bad=keep","^++bin\\>":"^\\+\\+bin\\b","^++edit\\>":"^\\+\\+edit\\b","^++enc=\\S":"^\\+\\+enc=\\S","^++encoding=\\S":"^\\+\\+encoding=\\S","^++ff=\\(dos\\|unix\\|mac\\)\\>":"^\\+\\+ff=(dos|unix|mac)\\b","^++fileformat=\\(dos\\|unix\\|mac\\)\\>":"^\\+\\+fileformat=(dos|unix|mac)\\b","^++nobin\\>":"^\\+\\+nobin\\b","^[A-Z]":"^[A-Z]","^\\$\\w\\+":"^\\$[0-9A-Za-z_]+","^\\(!\\|global\\|vglobal\\)$":"^(!|global|vglobal)$","^\\(WHILE\\|FOR\\)$":"^(WHILE|FOR)$","^\\(vimgrep\\|vimgrepadd\\|lvimgrep\\|lvimgrepadd\\)$":"^(vimgrep|vimgrepadd|lvimgrep|lvimgrepadd)$","^\\d":"^\\d","^\\h":"^[A-Za-z_]","^\\s":"^\\s","^\\s*\\\\":"^\\s*\\\\","^[ \\t]$":"^[ \\t]$","^[A-Za-z]$":"^[A-Za-z]$","^[0-9A-Za-z]$":"^[0-9A-Za-z]$","^[0-9]$":"^[0-9]$","^[0-9A-Fa-f]$":"^[0-9A-Fa-f]$","^[0-9A-Za-z_]$":"^[0-9A-Za-z_]$","^[A-Za-z_]$":"^[A-Za-z_]$","^[0-9A-Za-z_:#]$":"^[0-9A-Za-z_:#]$","^[A-Za-z_][0-9A-Za-z_]*$":"^[A-Za-z_][0-9A-Za-z_]*$","^[A-Z]$":"^[A-Z]$","^[a-z]$":"^[a-z]$","^[vgslabwt]:$\\|^\\([vgslabwt]:\\)\\?[A-Za-z_][0-9A-Za-z_#]*$":"^[vgslabwt]:$|^([vgslabwt]:)?[A-Za-z_][0-9A-Za-z_#]*$","^[0-7]$":"^[0-7]$","^[0-9A-Fa-f][0-9A-Fa-f]$":"^[0-9A-Fa-f][0-9A-Fa-f]$","^\\.[0-9A-Fa-f]$":"^\\.[0-9A-Fa-f]$","^[0-9A-Fa-f][^0-9A-Fa-f]$":"^[0-9A-Fa-f][^0-9A-Fa-f]$"};function s(e,t){e.push(t)}function o(e){return e.charCodeAt(0)}function a(e){return 0==e.length}function c(e,t){return e.toLowerCase()==t.toLowerCase()}function u(e,t){return null!=new RegExp(i[t]).exec(e)}function p(e,t){for(var r="",n=0;n<e.length;++n)-1!=t.indexOf(e.charAt(n))?r=r+"\\"+e.charAt(n):r+=e.charAt(n);return r}function l(e,t){arguments.length>=3&&arguments[2];e.splice(0,0,t)}function f(e,t){return e.join(t)}function m(e){if("string"==typeof e){for(var t=0,r=0;r<e.length;r++){var n=e.charCodeAt(r);t+=n<128?1:n>127&&n<2048?2:3}return t}return e.length}function h(){var e=Array.prototype.slice.call(arguments,0);return 1==e.length?e[0]:n.format.apply(null,e)}function d(e){var t=arguments.length>=2?arguments[1]:null;if(null==t){for(var r=[],n=0;n<e;++n)r.push(n);return r}for(r=[],n=e;n<=t;++n)r.push(n);return r}function _(e,t){e.splice(t,1)}function g(e,t){if("\\zs"==t)return e.split("");throw"NotImplemented"}function y(e){var t=arguments.length>=2?arguments[1]:10;return parseInt(e,t)}function R(e){return e.toString()}function b(e,t){return void 0!==e[t]}function v(e,t){return e.indexOf(t)}var A=[],E=0;function T(e){return u(e,"^[0-9A-Za-z]$")}function x(e){return u(e,"^[0-9]$")}function O(e){return u(e,"^[0-9A-Fa-f]$")}function N(e){return u(e,"^[0-9A-Za-z_]$")}function w(e){return u(e,"^[ \\t]$")}function C(e){return u(e,"^[0-9A-Za-z_:#]$")}function S(e){return u(e,"^[A-Za-z_][0-9A-Za-z_]*$")}function k(e){return u(e,"^[vgslabwt]:$\\|^\\([vgslabwt]:\\)\\?[A-Za-z_][0-9A-Za-z_#]*$")}function L(e){return u(e,"^[0-9A-Za-z_]$")}function D(e){return{type:e}}function G(e,t){return h("vimlparser: %s: line %d col %d",e,t.lnum,t.col)}function M(){this.__init__.apply(this,arguments)}function I(){this.__init__.apply(this,arguments)}function F(){this.__init__.apply(this,arguments)}function B(){F.apply(this,arguments),this.__init__.apply(this,arguments)}function P(){this.__init__.apply(this,arguments)}function W(){this.__init__.apply(this,arguments)}function j(){this.__init__.apply(this,arguments)}M.prototype.__init__=function(){var e=Array.prototype.slice.call(arguments,0);m(e)>0?this.neovim=e[0]:this.neovim=0,this.find_command_cache={}},M.prototype.push_context=function(e){l(this.context,e)},M.prototype.pop_context=function(){_(this.context,0)},M.prototype.find_context=function(e){for(var t=0,r=this.context,n=0;n<r.length;++n){if(r[n].type==e)return t;t+=1}return-1},M.prototype.add_node=function(e){s(this.context[0].body,e)},M.prototype.check_missing_endfunction=function(e,t){if(4==this.context[0].type)throw G(h("E126: Missing :endfunction: %s",e),t)},M.prototype.check_missing_endif=function(e,t){if(13==this.context[0].type||14==this.context[0].type||15==this.context[0].type)throw G(h("E171: Missing :endif: %s",e),t)},M.prototype.check_missing_endtry=function(e,t){if(23==this.context[0].type||24==this.context[0].type||25==this.context[0].type)throw G(h("E600: Missing :endtry: %s",e),t)},M.prototype.check_missing_endwhile=function(e,t){if(17==this.context[0].type)throw G(h("E170: Missing :endwhile: %s",e),t)},M.prototype.check_missing_endfor=function(e,t){if(19==this.context[0].type)throw G(h("E170: Missing :endfor: %s",e),t)},M.prototype.parse=function(e){this.reader=e,this.context=[];var t=D(1);for(t.pos=this.reader.getpos(),t.body=[],this.push_context(t);"<EOF>"!=this.reader.peek();)this.parse_one_cmd();return this.check_missing_endfunction("TOPLEVEL",this.reader.getpos()),this.check_missing_endif("TOPLEVEL",this.reader.getpos()),this.check_missing_endtry("TOPLEVEL",this.reader.getpos()),this.check_missing_endwhile("TOPLEVEL",this.reader.getpos()),this.check_missing_endfor("TOPLEVEL",this.reader.getpos()),this.pop_context(),t},M.prototype.parse_one_cmd=function(){var e;if(this.ea=((e={}).forceit=E,e.addr_count=0,e.line1=0,e.line2=0,e.flags=0,e.do_ecmd_cmd="",e.do_ecmd_lnum=0,e.append=0,e.usefilter=E,e.amount=0,e.regname=0,e.force_bin=0,e.read_edit=0,e.force_ff=0,e.force_enc=0,e.bad_char=0,e.linepos={},e.cmdpos=[],e.argpos=[],e.cmd={},e.modifiers=[],e.range=[],e.argopt={},e.argcmd={},e),"#!"==this.reader.peekn(2))return this.parse_hashbang(),void this.reader.get();if(this.reader.skip_white_and_colon(),""!=this.reader.peekn(1)){if('"'==this.reader.peekn(1))return this.parse_comment(),void this.reader.get();this.ea.linepos=this.reader.getpos(),this.parse_command_modifiers(),this.parse_range(),this.parse_command(),this.parse_trail()}else this.reader.get()},M.prototype.parse_command_modifiers=function(){for(var e=[];;){var t=this.reader.tell(),r="";if(x(this.reader.peekn(1))){r=this.reader.read_digit();this.reader.skip_white()}var n=this.reader.read_alpha(),i=this.reader.peekn(1);if(this.reader.skip_white(),0==v("aboveleft",n)&&m(n)>=3)s(e,{name:"aboveleft"});else if(0==v("belowright",n)&&m(n)>=3)s(e,{name:"belowright"});else if(0==v("browse",n)&&m(n)>=3)s(e,{name:"browse"});else if(0==v("botright",n)&&m(n)>=2)s(e,{name:"botright"});else if(0==v("confirm",n)&&m(n)>=4)s(e,{name:"confirm"});else if(0==v("keepmarks",n)&&m(n)>=3)s(e,{name:"keepmarks"});else if(0==v("keepalt",n)&&m(n)>=5)s(e,{name:"keepalt"});else if(0==v("keepjumps",n)&&m(n)>=5)s(e,{name:"keepjumps"});else if(0==v("keeppatterns",n)&&m(n)>=5)s(e,{name:"keeppatterns"});else if(0==v("hide",n)&&m(n)>=3){if(this.ends_excmds(i))break;s(e,{name:"hide"})}else if(0==v("lockmarks",n)&&m(n)>=3)s(e,{name:"lockmarks"});else if(0==v("leftabove",n)&&m(n)>=5)s(e,{name:"leftabove"});else if(0==v("noautocmd",n)&&m(n)>=3)s(e,{name:"noautocmd"});else if(0==v("noswapfile",n)&&m(n)>=3)s(e,{name:"noswapfile"});else if(0==v("rightbelow",n)&&m(n)>=6)s(e,{name:"rightbelow"});else if(0==v("sandbox",n)&&m(n)>=3)s(e,{name:"sandbox"});else if(0==v("silent",n)&&m(n)>=3)"!"==i?(this.reader.get(),s(e,{name:"silent",bang:1})):s(e,{name:"silent",bang:0});else if("tab"==n)s(e,""!=r?{name:"tab",count:y(r,10)}:{name:"tab"});else if(0==v("topleft",n)&&m(n)>=2)s(e,{name:"topleft"});else if(0==v("unsilent",n)&&m(n)>=3)s(e,{name:"unsilent"});else if(0==v("vertical",n)&&m(n)>=4)s(e,{name:"vertical"});else{if(!(0==v("verbose",n)&&m(n)>=4)){this.reader.seek_set(t);break}s(e,""!=r?{name:"verbose",count:y(r,10)}:{name:"verbose",count:1})}}this.ea.modifiers=e},M.prototype.parse_range=function(){for(var e=[];;){for(;;){this.reader.skip_white();var t=this.reader.peekn(1);if(""==t)break;if("."==t)s(e,this.reader.getn(1));else if("$"==t)s(e,this.reader.getn(1));else if("'"==t){if(this.reader.getn(1),""==(i=this.reader.getn(1)))break;s(e,"'"+i)}else if("/"==t){this.reader.getn(1);var r=(n=this.parse_pattern(t))[0];n[1];s(e,r)}else if("?"==t){this.reader.getn(1);var n;r=(n=this.parse_pattern(t))[0],n[1];s(e,r)}else if("\\"==t){var i;if("&"!=(i=this.reader.p(1))&&"?"!=i&&"/"!=i)throw G("E10: \\\\ should be followed by /, ? or &",this.reader.getpos());this.reader.seek_cur(2),s(e,"\\"+i)}else x(t)&&s(e,this.reader.read_digit());for(;this.reader.skip_white(),""!=this.reader.peekn(1);){var o=this.reader.read_integer();if(""==o)break;s(e,o)}if("/"!=this.reader.p(0)&&"?"!=this.reader.p(0))break}if("%"==this.reader.peekn(1)?s(e,this.reader.getn(1)):"*"==this.reader.peekn(1)&&s(e,this.reader.getn(1)),";"!=this.reader.peekn(1)){if(","!=this.reader.peekn(1))break;s(e,this.reader.getn(1))}else s(e,this.reader.getn(1))}this.ea.range=e},M.prototype.parse_pattern=function(e){for(var t="",r="",n=0;;){if(""==(i=this.reader.getn(1)))break;if(i==e&&0==n){r=i;break}if(t+=i,"\\"==i){var i;if(""==(i=this.reader.peekn(1)))throw G("E682: Invalid search pattern or delimiter",this.reader.getpos());this.reader.getn(1),t+=i}else"["==i?n+=1:"]"==i&&(n-=1)}return[t,r]},M.prototype.parse_command=function(){if(this.reader.skip_white_and_colon(),this.ea.cmdpos=this.reader.getpos(),""!=this.reader.peekn(1)&&'"'!=this.reader.peekn(1)){if(this.ea.cmd=this.find_command(),this.ea.cmd===A)throw this.reader.setpos(this.ea.cmdpos),G(h("E492: Not an editor command: %s",this.reader.peekline()),this.ea.cmdpos);if("!"==this.reader.peekn(1)&&"substitute"!=this.ea.cmd.name&&"smagic"!=this.ea.cmd.name&&"snomagic"!=this.ea.cmd.name?(this.reader.getn(1),this.ea.forceit=1):this.ea.forceit=E,!u(this.ea.cmd.flags,"\\<BANG\\>")&&this.ea.forceit&&!u(this.ea.cmd.flags,"\\<USERCMD\\>"))throw G("E477: No ! allowed",this.ea.cmdpos);if("!"!=this.ea.cmd.name&&this.reader.skip_white(),this.ea.argpos=this.reader.getpos(),u(this.ea.cmd.flags,"\\<ARGOPT\\>")&&this.parse_argopt(),"write"==this.ea.cmd.name||"update"==this.ea.cmd.name)if(">"==this.reader.p(0)){if(">"!=this.reader.p(1))throw G("E494: Use w or w>>",this.ea.cmdpos);this.reader.seek_cur(2),this.reader.skip_white(),this.ea.append=1}else"!"==this.reader.peekn(1)&&"write"==this.ea.cmd.name&&(this.reader.getn(1),this.ea.usefilter=1);if("read"==this.ea.cmd.name&&(this.ea.forceit?(this.ea.usefilter=1,this.ea.forceit=E):"!"==this.reader.peekn(1)&&(this.reader.getn(1),this.ea.usefilter=1)),"<"==this.ea.cmd.name||">"==this.ea.cmd.name){for(this.ea.amount=1;this.reader.peekn(1)==this.ea.cmd.name;)this.reader.getn(1),this.ea.amount+=1;this.reader.skip_white()}u(this.ea.cmd.flags,"\\<EDITCMD\\>")&&!this.ea.usefilter&&this.parse_argcmd(),this._parse_command(this.ea.cmd.parser)}else a(this.ea.modifiers)&&a(this.ea.range)||this.parse_cmd_modifier_range()},M.prototype._parse_command=function(e){if("parse_cmd_append"==e)this.parse_cmd_append();else if("parse_cmd_break"==e)this.parse_cmd_break();else if("parse_cmd_call"==e)this.parse_cmd_call();else if("parse_cmd_catch"==e)this.parse_cmd_catch();else if("parse_cmd_common"==e)this.parse_cmd_common();else if("parse_cmd_continue"==e)this.parse_cmd_continue();else if("parse_cmd_delfunction"==e)this.parse_cmd_delfunction();else if("parse_cmd_echo"==e)this.parse_cmd_echo();else if("parse_cmd_echoerr"==e)this.parse_cmd_echoerr();else if("parse_cmd_echohl"==e)this.parse_cmd_echohl();else if("parse_cmd_echomsg"==e)this.parse_cmd_echomsg();else if("parse_cmd_echon"==e)this.parse_cmd_echon();else if("parse_cmd_else"==e)this.parse_cmd_else();else if("parse_cmd_elseif"==e)this.parse_cmd_elseif();else if("parse_cmd_endfor"==e)this.parse_cmd_endfor();else if("parse_cmd_endfunction"==e)this.parse_cmd_endfunction();else if("parse_cmd_endif"==e)this.parse_cmd_endif();else if("parse_cmd_endtry"==e)this.parse_cmd_endtry();else if("parse_cmd_endwhile"==e)this.parse_cmd_endwhile();else if("parse_cmd_execute"==e)this.parse_cmd_execute();else if("parse_cmd_finally"==e)this.parse_cmd_finally();else if("parse_cmd_finish"==e)this.parse_cmd_finish();else if("parse_cmd_for"==e)this.parse_cmd_for();else if("parse_cmd_function"==e)this.parse_cmd_function();else if("parse_cmd_if"==e)this.parse_cmd_if();else if("parse_cmd_insert"==e)this.parse_cmd_insert();else if("parse_cmd_let"==e)this.parse_cmd_let();else if("parse_cmd_const"==e)this.parse_cmd_const();else if("parse_cmd_loadkeymap"==e)this.parse_cmd_loadkeymap();else if("parse_cmd_lockvar"==e)this.parse_cmd_lockvar();else if("parse_cmd_lua"==e)this.parse_cmd_lua();else if("parse_cmd_modifier_range"==e)this.parse_cmd_modifier_range();else if("parse_cmd_mzscheme"==e)this.parse_cmd_mzscheme();else if("parse_cmd_perl"==e)this.parse_cmd_perl();else if("parse_cmd_python"==e)this.parse_cmd_python();else if("parse_cmd_python3"==e)this.parse_cmd_python3();else if("parse_cmd_return"==e)this.parse_cmd_return();else if("parse_cmd_ruby"==e)this.parse_cmd_ruby();else if("parse_cmd_tcl"==e)this.parse_cmd_tcl();else if("parse_cmd_throw"==e)this.parse_cmd_throw();else if("parse_cmd_eval"==e)this.parse_cmd_eval();else if("parse_cmd_try"==e)this.parse_cmd_try();else if("parse_cmd_unlet"==e)this.parse_cmd_unlet();else if("parse_cmd_unlockvar"==e)this.parse_cmd_unlockvar();else if("parse_cmd_usercmd"==e)this.parse_cmd_usercmd();else if("parse_cmd_while"==e)this.parse_cmd_while();else if("parse_wincmd"==e)this.parse_wincmd();else{if("parse_cmd_syntax"!=e)throw h("unknown parser: %s",R(e));this.parse_cmd_syntax()}},M.prototype.find_command=function(){var e=this.reader.peekn(1),t="";if("k"==e){this.reader.getn(1);t="k"}else if("s"==e&&u(this.reader.peekn(5),"\\v^s%(c[^sr][^i][^p]|g|i[^mlg]|I|r[^e])")){this.reader.getn(1);t="substitute"}else if(u(e,"[@*!=><&~#]")){this.reader.getn(1);t=e}else if("py"==this.reader.peekn(2))t=this.reader.read_alnum();else{var r=this.reader.tell();if("del"!=(t=this.reader.read_alpha())&&u(t,"\\v^d%[elete][lp]$")){this.reader.seek_set(r);t=this.reader.getn(m(t)-1)}}if(""==t)return A;if(b(this.find_command_cache,t))return this.find_command_cache[t];for(var n=A,i=this.builtin_commands,s=0;s<i.length;++s){if(0==v((l=i[s]).name,t)&&m(t)>=l.minlen){delete n;n=l;break}}if(this.neovim){for(var o=this.neovim_additional_commands,a=0;a<o.length;++a){if(0==v((l=o[a]).name,t)&&m(t)>=l.minlen){delete n;n=l;break}}for(var c=this.neovim_removed_commands,p=0;p<c.length;++p){var l;if(0==v((l=c[p]).name,t)&&m(t)>=l.minlen){delete n;n=A;break}}}if((n===A||"Print"==n.name)&&u(t,"^[A-Z]")){delete n;n={name:t+=this.reader.read_alnum(),flags:"USERCMD",parser:"parse_cmd_usercmd"}}return this.find_command_cache[t]=n,n},M.prototype.parse_hashbang=function(){this.reader.getn(-1)},M.prototype.parse_argopt=function(){for(;"+"==this.reader.p(0)&&"+"==this.reader.p(1);){var e=this.reader.peekn(20);if(u(e,"^++bin\\>"))this.reader.getn(5),this.ea.force_bin=1;else if(u(e,"^++nobin\\>"))this.reader.getn(7),this.ea.force_bin=2;else if(u(e,"^++edit\\>"))this.reader.getn(6),this.ea.read_edit=1;else if(u(e,"^++ff=\\(dos\\|unix\\|mac\\)\\>"))this.reader.getn(5),this.ea.force_ff=this.reader.read_alpha();else if(u(e,"^++fileformat=\\(dos\\|unix\\|mac\\)\\>"))this.reader.getn(13),this.ea.force_ff=this.reader.read_alpha();else if(u(e,"^++enc=\\S"))this.reader.getn(6),this.ea.force_enc=this.reader.read_nonwhite();else if(u(e,"^++encoding=\\S"))this.reader.getn(11),this.ea.force_enc=this.reader.read_nonwhite();else{if(!u(e,"^++bad=\\(keep\\|drop\\|.\\)\\>")){if(u(e,"^++"))throw G("E474: Invalid Argument",this.reader.getpos());break}this.reader.getn(6),u(e,"^++bad=keep")?this.ea.bad_char=this.reader.getn(4):u(e,"^++bad=drop")?this.ea.bad_char=this.reader.getn(4):this.ea.bad_char=this.reader.getn(1)}this.reader.skip_white()}},M.prototype.parse_argcmd=function(){"+"==this.reader.peekn(1)&&(this.reader.getn(1)," "==this.reader.peekn(1)?this.ea.do_ecmd_cmd="$":this.ea.do_ecmd_cmd=this.read_cmdarg())},M.prototype.read_cmdarg=function(){for(var e="";;){if(""==(t=this.reader.peekn(1))||w(t))break;if(this.reader.getn(1),"\\"==t)var t=this.reader.getn(1);e+=t}return e},M.prototype.parse_comment=function(){var e=this.reader.getpos(),t=this.reader.get();if('"'!=t)throw G(h("unexpected character: %s",t),e);var r=D(2);r.pos=e,r.str=this.reader.getn(-1),this.add_node(r)},M.prototype.parse_trail=function(){this.reader.skip_white();var e=this.reader.peek();if("<EOF>"==e);else if("<EOL>"==e)this.reader.get();else if("|"==e)this.reader.get();else{if('"'!=e)throw G(h("E488: Trailing characters: %s",e),this.reader.getpos());this.parse_comment(),this.reader.get()}},M.prototype.parse_cmd_modifier_range=function(){var e=D(3);e.pos=this.ea.cmdpos,e.ea=this.ea,e.str=this.reader.getstr(this.ea.linepos,this.reader.getpos()),this.add_node(e)},M.prototype.parse_cmd_common=function(){var e=this.reader.getpos();if(u(this.ea.cmd.flags,"\\<TRLBAR\\>")&&!this.ea.usefilter)e=this.separate_nextcmd();else if("!"==this.ea.cmd.name||"global"==this.ea.cmd.name||"vglobal"==this.ea.cmd.name||this.ea.usefilter)for(;;){e=this.reader.getpos();if(""==this.reader.getn(1))break}else for(;;){e=this.reader.getpos();if(""==this.reader.getn(1))break}var t=D(3);t.pos=this.ea.cmdpos,t.ea=this.ea,t.str=this.reader.getstr(this.ea.linepos,e),this.add_node(t)},M.prototype.separate_nextcmd=function(){"vimgrep"!=this.ea.cmd.name&&"vimgrepadd"!=this.ea.cmd.name&&"lvimgrep"!=this.ea.cmd.name&&"lvimgrepadd"!=this.ea.cmd.name||this.skip_vimgrep_pat();for(var e="",t=r=this.reader.getpos();;){var r=this.reader.getpos();if(!w(e))t=r;if("<EOF>"==(n=this.reader.peek())||"<EOL>"==n)break;if(""==n){this.reader.get();r=this.reader.getpos(),t=this.reader.getpos();if("<EOF>"==(n=this.reader.peek())||"<EOL>"==n)break;this.reader.get()}else if("`="==this.reader.peekn(2)&&u(this.ea.cmd.flags,"\\<\\(XFILE\\|FILES\\|FILE1\\)\\>")){var n;if(this.reader.getn(2),this.parse_expr(),"`"!=(n=this.reader.peekn(1)))throw G(h("unexpected character: %s",n),this.reader.getpos());this.reader.getn(1)}else if("|"!=n&&"\n"!=n&&('"'!=n||u(this.ea.cmd.flags,"\\<NOTRLCOM\\>")||("@"==this.ea.cmd.name||"*"==this.ea.cmd.name)&&this.reader.getpos()==this.ea.argpos||"redir"==this.ea.cmd.name&&this.reader.getpos().i==this.ea.argpos.i+1&&"@"==e))this.reader.get();else{if(E&&u(this.ea.cmd.flags,"\\<USECTRLV\\>")||"\\"!=e)break;this.reader.get()}e=n}if(!u(this.ea.cmd.flags,"\\<NOTRLCOM\\>"))r=t;return r},M.prototype.skip_vimgrep_pat=function(){if(""==this.reader.peekn(1));else if(L(this.reader.peekn(1)))this.reader.read_nonwhite();else{var e=this.reader.getn(1),t=this.parse_pattern(e);t[0];if(e!=t[1])return;for(;"g"==this.reader.p(0)||"j"==this.reader.p(0);)this.reader.getn(1)}},M.prototype.parse_cmd_append=function(){this.reader.setpos(this.ea.linepos);for(var e=[this.reader.readline()];"<EOF>"!=this.reader.peek();){var t=this.reader.getn(-1);if(s(e,t),"."==t)break;this.reader.get()}var r=D(3);r.pos=this.ea.cmdpos,r.ea=this.ea,r.str=f(e,"\n"),this.add_node(r)},M.prototype.parse_cmd_insert=function(){this.parse_cmd_append()},M.prototype.parse_cmd_loadkeymap=function(){this.reader.setpos(this.ea.linepos);for(var e=[this.reader.readline()];"<EOF>"!=this.reader.peek();){s(e,this.reader.readline())}var t=D(3);t.pos=this.ea.cmdpos,t.ea=this.ea,t.str=f(e,"\n"),this.add_node(t)},M.prototype.parse_cmd_lua=function(){var e=[];if(this.reader.skip_white(),"<<"==this.reader.peekn(2)){if(this.reader.getn(2),this.reader.skip_white(),""==(t=this.reader.readline()))var t=".";this.reader.setpos(this.ea.linepos);e=[this.reader.getn(-1)];for(this.reader.get();"<EOF>"!=this.reader.peek();){var r=this.reader.getn(-1);if(s(e,r),r==t)break;this.reader.get()}}else{this.reader.setpos(this.ea.linepos);e=[this.reader.getn(-1)]}var n=D(3);n.pos=this.ea.cmdpos,n.ea=this.ea,n.str=f(e,"\n"),this.add_node(n)},M.prototype.parse_cmd_mzscheme=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_perl=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_python=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_python3=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_ruby=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_tcl=function(){this.parse_cmd_lua()},M.prototype.parse_cmd_finish=function(){this.parse_cmd_common(),1==this.context[0].type&&this.reader.seek_end(0)},M.prototype.parse_cmd_usercmd=function(){this.parse_cmd_common()},M.prototype.parse_cmd_function=function(){var e=this.reader.tell();if(this.reader.skip_white(),this.ends_excmds(this.reader.peek()))return this.reader.seek_set(e),void this.parse_cmd_common();if("/"==this.reader.peekn(1))return this.reader.seek_set(e),void this.parse_cmd_common();var t=this.parse_lvalue_func();if(this.reader.skip_white(),86==t.type){var r=t.value,n=g(r,"\\zs");if("<"!=n[0]&&"_"!=n[0]&&!u(n[0],"^[A-Z]$")&&-1==v(r,":")&&-1==v(r,"#"))throw G(h("E128: Function name must start with a capital or contain a colon: %s",r),t.pos)}if("("!=this.reader.peekn(1))return this.reader.seek_set(e),void this.parse_cmd_common();var i=D(4);i.pos=this.ea.cmdpos,i.body=[],i.ea=this.ea,i.left=t,i.rlist=[],i.default_args=[],i.attr={range:0,abort:0,dict:0,closure:0},i.endfunction=A,this.reader.getn(1);var o=new I(this.reader);if(46==o.peek().type)o.get();else for(var a={};;){var c=D(86);if(56!=(p=o.get()).type){if(63==p.type){var p;if(c.pos=p.pos,c.value=p.value,s(i.rlist,c),46==(p=o.get()).type)break;throw G(h("unexpected token: %s",p.value),p.pos)}throw G(h("unexpected token: %s",p.value),p.pos)}if(!S(p.value)||"firstline"==p.value||"lastline"==p.value)throw G(h("E125: Illegal argument: %s",p.value),p.pos);if(b(a,p.value))throw G(h("E853: Duplicate argument name: %s",p.value),p.pos);if(a[p.value]=1,c.pos=p.pos,c.value=p.value,s(i.rlist,c),59==o.peek().type)o.get(),s(i.default_args,this.parse_expr());else if(m(i.default_args)>0)throw G("E989: Non-default argument follows default argument",c.pos);if(w(this.reader.p(0))&&51==o.peek().type)throw G("E475: Invalid argument: White space is not allowed before comma",this.reader.getpos());if(51!=(p=o.get()).type){if(46==p.type)break;throw G(h("unexpected token: %s",p.value),p.pos)}if(46==o.peek().type){o.get();break}}for(;;){this.reader.skip_white();var l=this.reader.getpos(),f=this.reader.read_alpha();if(""==f)break;if("range"==f)i.attr.range=1;else if("abort"==f)i.attr.abort=1;else if("dict"==f)i.attr.dict=1;else{if("closure"!=f)throw G(h("unexpected token: %s",f),l);i.attr.closure=1}}this.add_node(i),this.push_context(i)},M.prototype.parse_cmd_endfunction=function(){if(this.check_missing_endif("ENDFUNCTION",this.ea.cmdpos),this.check_missing_endtry("ENDFUNCTION",this.ea.cmdpos),this.check_missing_endwhile("ENDFUNCTION",this.ea.cmdpos),this.check_missing_endfor("ENDFUNCTION",this.ea.cmdpos),4!=this.context[0].type)throw G("E193: :endfunction not inside a function",this.ea.cmdpos);this.reader.getn(-1);var e=D(5);e.pos=this.ea.cmdpos,e.ea=this.ea,this.context[0].endfunction=e,this.pop_context()},M.prototype.parse_cmd_delfunction=function(){var e=D(6);e.pos=this.ea.cmdpos,e.ea=this.ea,e.left=this.parse_lvalue_func(),this.add_node(e)},M.prototype.parse_cmd_return=function(){if(-1==this.find_context(4))throw G("E133: :return not inside a function",this.ea.cmdpos);var e=D(7);e.pos=this.ea.cmdpos,e.ea=this.ea,e.left=A,this.reader.skip_white();var t=this.reader.peek();'"'!=t&&this.ends_excmds(t)||(e.left=this.parse_expr()),this.add_node(e)},M.prototype.parse_cmd_call=function(){var e=D(8);e.pos=this.ea.cmdpos,e.ea=this.ea,this.reader.skip_white();var t=this.reader.peek();if(this.ends_excmds(t))throw G("E471: Argument required",this.reader.getpos());if(e.left=this.parse_expr(),78!=e.left.type)throw G("Not an function call",e.left.pos);this.add_node(e)},M.prototype.parse_heredoc=function(){var e=D(96);for(e.pos=this.ea.cmdpos,e.op="",e.rlist=[],e.body=[];;){this.reader.skip_white();var t=this.reader.read_word();if(""==t)break;if(!u(t[0],"^[a-z]$")){e.op=t;break}s(e.rlist,t)}if(""==e.op)throw G("E172: Missing marker",this.reader.getpos());for(this.parse_trail();"<EOF>"!=this.reader.peek();){var r=this.reader.getn(-1);if(r==e.op)return e;s(e.body,r),this.reader.get()}throw G(h("E990: Missing end marker '%s'",e.op),this.reader.getpos())},M.prototype.parse_cmd_let=function(){var e=this.reader.tell();if(this.reader.skip_white(),this.ends_excmds(this.reader.peek()))return this.reader.seek_set(e),void this.parse_cmd_common();var t=this.parse_letlhs();this.reader.skip_white();var r=this.reader.peekn(1);if(".."==(n=this.reader.peekn(2)))var n=this.reader.peekn(3);else if("=<"==n)n=this.reader.peekn(3);if(this.ends_excmds(r)||"+="!=n&&"-="!=n&&".="!=n&&"..="!=n&&"*="!=n&&"/="!=n&&"%="!=n&&"=<<"!=n&&"="!=r)return this.reader.seek_set(e),void this.parse_cmd_common();var i=D(9);if(i.pos=this.ea.cmdpos,i.ea=this.ea,i.op="",i.left=t.left,i.list=t.list,i.rest=t.rest,i.right=A,"+="==n||"-="==n||".="==n||"..="==n||"*="==n||"/="==n||"%="==n)this.reader.getn(m(n)),i.op=n;else{if("=<<"==n)return this.reader.getn(m(n)),this.reader.skip_white(),i.op=n,i.right=this.parse_heredoc(),void this.add_node(i);if("="!=r)throw"NOT REACHED";this.reader.getn(1),i.op=r}i.right=this.parse_expr(),this.add_node(i)},M.prototype.parse_cmd_const=function(){var e=this.reader.tell();if(this.reader.skip_white(),this.ends_excmds(this.reader.peek()))return this.reader.seek_set(e),void this.parse_cmd_common();var t=this.parse_constlhs();this.reader.skip_white();var r=this.reader.peekn(1);if(this.ends_excmds(r)||"="!=r)return this.reader.seek_set(e),void this.parse_cmd_common();var n=D(94);n.pos=this.ea.cmdpos,n.ea=this.ea,this.reader.getn(1),n.op=r,n.left=t.left,n.list=t.list,n.rest=t.rest,n.right=this.parse_expr(),this.add_node(n)},M.prototype.parse_cmd_unlet=function(){var e=D(10);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_lvaluelist(),this.add_node(e)},M.prototype.parse_cmd_lockvar=function(){var e=D(11);e.pos=this.ea.cmdpos,e.ea=this.ea,e.depth=A,e.list=[],this.reader.skip_white(),x(this.reader.peekn(1))&&(e.depth=y(this.reader.read_digit(),10)),e.list=this.parse_lvaluelist(),this.add_node(e)},M.prototype.parse_cmd_unlockvar=function(){var e=D(12);e.pos=this.ea.cmdpos,e.ea=this.ea,e.depth=A,e.list=[],this.reader.skip_white(),x(this.reader.peekn(1))&&(e.depth=y(this.reader.read_digit(),10)),e.list=this.parse_lvaluelist(),this.add_node(e)},M.prototype.parse_cmd_if=function(){var e=D(13);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.cond=this.parse_expr(),e.elseif=[],e._else=A,e.endif=A,this.add_node(e),this.push_context(e)},M.prototype.parse_cmd_elseif=function(){if(13!=this.context[0].type&&14!=this.context[0].type)throw G("E582: :elseif without :if",this.ea.cmdpos);13!=this.context[0].type&&this.pop_context();var e=D(14);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.cond=this.parse_expr(),s(this.context[0].elseif,e),this.push_context(e)},M.prototype.parse_cmd_else=function(){if(13!=this.context[0].type&&14!=this.context[0].type)throw G("E581: :else without :if",this.ea.cmdpos);13!=this.context[0].type&&this.pop_context();var e=D(15);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,this.context[0]._else=e,this.push_context(e)},M.prototype.parse_cmd_endif=function(){if(13!=this.context[0].type&&14!=this.context[0].type&&15!=this.context[0].type)throw G("E580: :endif without :if",this.ea.cmdpos);13!=this.context[0].type&&this.pop_context();var e=D(16);e.pos=this.ea.cmdpos,e.ea=this.ea,this.context[0].endif=e,this.pop_context()},M.prototype.parse_cmd_while=function(){var e=D(17);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.cond=this.parse_expr(),e.endwhile=A,this.add_node(e),this.push_context(e)},M.prototype.parse_cmd_endwhile=function(){if(17!=this.context[0].type)throw G("E588: :endwhile without :while",this.ea.cmdpos);var e=D(18);e.pos=this.ea.cmdpos,e.ea=this.ea,this.context[0].endwhile=e,this.pop_context()},M.prototype.parse_cmd_for=function(){var e=D(19);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.left=A,e.right=A,e.endfor=A;var t=this.parse_letlhs();e.left=t.left,e.list=t.list,e.rest=t.rest,this.reader.skip_white();var r=this.reader.getpos();if("in"!=this.reader.read_alpha())throw G('Missing "in" after :for',r);e.right=this.parse_expr(),this.add_node(e),this.push_context(e)},M.prototype.parse_cmd_endfor=function(){if(19!=this.context[0].type)throw G("E588: :endfor without :for",this.ea.cmdpos);var e=D(20);e.pos=this.ea.cmdpos,e.ea=this.ea,this.context[0].endfor=e,this.pop_context()},M.prototype.parse_cmd_continue=function(){if(-1==this.find_context(17)&&-1==this.find_context(19))throw G("E586: :continue without :while or :for",this.ea.cmdpos);var e=D(21);e.pos=this.ea.cmdpos,e.ea=this.ea,this.add_node(e)},M.prototype.parse_cmd_break=function(){if(-1==this.find_context(17)&&-1==this.find_context(19))throw G("E587: :break without :while or :for",this.ea.cmdpos);var e=D(22);e.pos=this.ea.cmdpos,e.ea=this.ea,this.add_node(e)},M.prototype.parse_cmd_try=function(){var e=D(23);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.catch=[],e._finally=A,e.endtry=A,this.add_node(e),this.push_context(e)},M.prototype.parse_cmd_catch=function(){if(25==this.context[0].type)throw G("E604: :catch after :finally",this.ea.cmdpos);if(23!=this.context[0].type&&24!=this.context[0].type)throw G("E603: :catch without :try",this.ea.cmdpos);23!=this.context[0].type&&this.pop_context();var e=D(24);if(e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,e.pattern=A,this.reader.skip_white(),!this.ends_excmds(this.reader.peek())){var t=this.parse_pattern(this.reader.get());e.pattern=t[0];t[1]}s(this.context[0].catch,e),this.push_context(e)},M.prototype.parse_cmd_finally=function(){if(23!=this.context[0].type&&24!=this.context[0].type)throw G("E606: :finally without :try",this.ea.cmdpos);23!=this.context[0].type&&this.pop_context();var e=D(25);e.pos=this.ea.cmdpos,e.body=[],e.ea=this.ea,this.context[0]._finally=e,this.push_context(e)},M.prototype.parse_cmd_endtry=function(){if(23!=this.context[0].type&&24!=this.context[0].type&&25!=this.context[0].type)throw G("E602: :endtry without :try",this.ea.cmdpos);23!=this.context[0].type&&this.pop_context();var e=D(26);e.pos=this.ea.cmdpos,e.ea=this.ea,this.context[0].endtry=e,this.pop_context()},M.prototype.parse_cmd_throw=function(){var e=D(27);e.pos=this.ea.cmdpos,e.ea=this.ea,e.left=this.parse_expr(),this.add_node(e)},M.prototype.parse_cmd_eval=function(){var e=D(95);e.pos=this.ea.cmdpos,e.ea=this.ea,e.left=this.parse_expr(),this.add_node(e)},M.prototype.parse_cmd_echo=function(){var e=D(28);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_exprlist(),this.add_node(e)},M.prototype.parse_cmd_echon=function(){var e=D(29);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_exprlist(),this.add_node(e)},M.prototype.parse_cmd_echohl=function(){var e=D(30);for(e.pos=this.ea.cmdpos,e.ea=this.ea,e.str="";!this.ends_excmds(this.reader.peek());)e.str+=this.reader.get();this.add_node(e)},M.prototype.parse_cmd_echomsg=function(){var e=D(31);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_exprlist(),this.add_node(e)},M.prototype.parse_cmd_echoerr=function(){var e=D(32);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_exprlist(),this.add_node(e)},M.prototype.parse_cmd_execute=function(){var e=D(33);e.pos=this.ea.cmdpos,e.ea=this.ea,e.list=this.parse_exprlist(),this.add_node(e)},M.prototype.parse_expr=function(){return new F(this.reader).parse()},M.prototype.parse_exprlist=function(){for(var e=[];;){this.reader.skip_white();var t=this.reader.peek();if('"'!=t&&this.ends_excmds(t))break;s(e,this.parse_expr())}return e},M.prototype.parse_lvalue_func=function(){var e=new B(this.reader).parse();if(86==e.type||87==e.type||76==e.type||79==e.type||85==e.type||88==e.type||89==e.type)return e;throw G("Invalid Expression",e.pos)},M.prototype.parse_lvalue=function(){var e=new B(this.reader).parse();if(86==e.type&&!k(e.value))throw G(h("E461: Illegal variable name: %s",e.value),e.pos);if(86==e.type||87==e.type||76==e.type||77==e.type||79==e.type||85==e.type||88==e.type||89==e.type)return e;throw G("Invalid Expression",e.pos)},M.prototype.parse_constlvalue=function(){var e=new B(this.reader).parse();if(86==e.type&&!k(e.value))throw G(h("E461: Illegal variable name: %s",e.value),e.pos);if(86==e.type||87==e.type)return e;if(76==e.type||77==e.type||79==e.type)throw G("E996: Cannot lock a list or dict",e.pos);if(85==e.type)throw G("E996: Cannot lock an option",e.pos);if(88==e.type)throw G("E996: Cannot lock an environment variable",e.pos);if(89==e.type)throw G("E996: Cannot lock a register",e.pos);throw G("Invalid Expression",e.pos)},M.prototype.parse_lvaluelist=function(){var e=[];for(s(e,this.parse_expr());this.reader.skip_white(),!this.ends_excmds(this.reader.peek());){s(e,this.parse_lvalue())}return e},M.prototype.parse_letlhs=function(){var e={left:A,list:A,rest:A},t=new I(this.reader);if(47==t.peek().type)for(t.get(),e.list=[];;){var r=this.parse_lvalue();if(s(e.list,r),48==(n=t.get()).type)break;if(51!=n.type){if(61==n.type){var n;r=this.parse_lvalue();if(e.rest=r,48==(n=t.get()).type)break;throw G(h("E475 Invalid argument: %s",n.value),n.pos)}throw G(h("E475 Invalid argument: %s",n.value),n.pos)}}else e.left=this.parse_lvalue();return e},M.prototype.parse_constlhs=function(){var e={left:A,list:A,rest:A},t=new I(this.reader);if(47==t.peek().type)for(t.get(),e.list=[];;){var r=this.parse_lvalue();if(s(e.list,r),48==(n=t.get()).type)break;if(51!=n.type){if(61==n.type){var n;r=this.parse_lvalue();if(e.rest=r,48==(n=t.get()).type)break;throw G(h("E475 Invalid argument: %s",n.value),n.pos)}throw G(h("E475 Invalid argument: %s",n.value),n.pos)}}else e.left=this.parse_constlvalue();return e},M.prototype.ends_excmds=function(e){return""==e||"|"==e||'"'==e||"<EOF>"==e||"<EOL>"==e},M.prototype.parse_wincmd=function(){var e=this.reader.getn(1);if(""==e)throw G("E471: Argument required",this.reader.getpos());if("g"==e||""==e){var t=this.reader.getn(1);if(""==t||w(t))throw G("E474: Invalid Argument",this.reader.getpos())}var r=this.reader.getpos();if(this.reader.skip_white(),!this.ends_excmds(this.reader.peek()))throw G("E474: Invalid Argument",this.reader.getpos());var n=D(3);n.pos=this.ea.cmdpos,n.ea=this.ea,n.str=this.reader.getstr(this.ea.linepos,r),this.add_node(n)},M.prototype.parse_cmd_syntax=function(){for(var e=this.reader.getpos();;){e=this.reader.getpos();var t=this.reader.peek();if("/"==t||"'"==t||'"'==t)this.reader.getn(1),this.parse_pattern(t);else if("="==t)this.reader.getn(1),this.parse_pattern(" ");else if(this.ends_excmds(t))break;this.reader.getn(1)}var r=D(3);r.pos=this.ea.cmdpos,r.ea=this.ea,r.str=this.reader.getstr(this.ea.linepos,e),this.add_node(r)},M.prototype.neovim_additional_commands=[{name:"rshada",minlen:3,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"wshada",minlen:3,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"}],M.prototype.neovim_removed_commands=[{name:"Print",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"fixdel",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"helpfind",minlen:5,flags:"EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"open",minlen:1,flags:"RANGE|BANG|EXTRA",parser:"parse_cmd_common"},{name:"shell",minlen:2,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"tearoff",minlen:2,flags:"NEEDARG|EXTRA|TRLBAR|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"gvim",minlen:2,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN",parser:"parse_cmd_common"}],M.prototype.builtin_commands=[{name:"append",minlen:1,flags:"BANG|RANGE|ZEROR|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_append"},{name:"abbreviate",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"abclear",minlen:3,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"aboveleft",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"all",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"amenu",minlen:2,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"anoremenu",minlen:2,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"args",minlen:2,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"argadd",minlen:4,flags:"BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILES|TRLBAR",parser:"parse_cmd_common"},{name:"argdelete",minlen:4,flags:"BANG|RANGE|NOTADR|FILES|TRLBAR",parser:"parse_cmd_common"},{name:"argedit",minlen:4,flags:"BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"argdo",minlen:5,flags:"BANG|NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"argglobal",minlen:4,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"arglocal",minlen:4,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"argument",minlen:4,flags:"BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"ascii",minlen:2,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"autocmd",minlen:2,flags:"BANG|EXTRA|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"augroup",minlen:3,flags:"BANG|WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"aunmenu",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"buffer",minlen:1,flags:"BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"bNext",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"ball",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"badd",minlen:3,flags:"NEEDARG|FILE1|EDITCMD|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"bdelete",minlen:2,flags:"BANG|RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"behave",minlen:2,flags:"NEEDARG|WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"belowright",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"bfirst",minlen:2,flags:"BANG|RANGE|NOTADR|TRLBAR",parser:"parse_cmd_common"},{name:"blast",minlen:2,flags:"BANG|RANGE|NOTADR|TRLBAR",parser:"parse_cmd_common"},{name:"bmodified",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"bnext",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"botright",minlen:2,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"bprevious",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"brewind",minlen:2,flags:"BANG|RANGE|NOTADR|TRLBAR",parser:"parse_cmd_common"},{name:"break",minlen:4,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_break"},{name:"breakadd",minlen:6,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"breakdel",minlen:6,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"breaklist",minlen:6,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"browse",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"bufdo",minlen:5,flags:"BANG|NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"buffers",minlen:7,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"bunload",minlen:3,flags:"BANG|RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"bwipeout",minlen:2,flags:"BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"change",minlen:1,flags:"BANG|WHOLEFOLD|RANGE|COUNT|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"cNext",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cNfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cabbrev",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cabclear",minlen:4,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"caddbuffer",minlen:3,flags:"RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"caddexpr",minlen:5,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR",parser:"parse_cmd_common"},{name:"caddfile",minlen:5,flags:"TRLBAR|FILE1",parser:"parse_cmd_common"},{name:"call",minlen:3,flags:"RANGE|NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_call"},{name:"catch",minlen:3,flags:"EXTRA|SBOXOK|CMDWIN",parser:"parse_cmd_catch"},{name:"cbuffer",minlen:2,flags:"BANG|RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"cc",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cclose",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"cd",minlen:2,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"center",minlen:2,flags:"TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"cexpr",minlen:3,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cfile",minlen:2,flags:"TRLBAR|FILE1|BANG",parser:"parse_cmd_common"},{name:"cfirst",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cgetbuffer",minlen:5,flags:"RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"cgetexpr",minlen:5,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR",parser:"parse_cmd_common"},{name:"cgetfile",minlen:2,flags:"TRLBAR|FILE1",parser:"parse_cmd_common"},{name:"changes",minlen:7,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"chdir",minlen:3,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"checkpath",minlen:3,flags:"TRLBAR|BANG|CMDWIN",parser:"parse_cmd_common"},{name:"checktime",minlen:6,flags:"RANGE|NOTADR|BUFNAME|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"clist",minlen:2,flags:"BANG|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"clast",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"close",minlen:3,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"cmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cmapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"cmenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cnext",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cnewer",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"cnfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cnoremap",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cnoreabbrev",minlen:6,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cnoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"copy",minlen:2,flags:"RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"colder",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"colorscheme",minlen:4,flags:"WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"command",minlen:3,flags:"EXTRA|BANG|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"comclear",minlen:4,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"compiler",minlen:4,flags:"BANG|TRLBAR|WORD1|CMDWIN",parser:"parse_cmd_common"},{name:"continue",minlen:3,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_continue"},{name:"confirm",minlen:4,flags:"NEEDARG|EXTRA|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"copen",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"cprevious",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cpfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cquit",minlen:2,flags:"TRLBAR|BANG",parser:"parse_cmd_common"},{name:"crewind",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"cscope",minlen:2,flags:"EXTRA|NOTRLCOM|XFILE",parser:"parse_cmd_common"},{name:"cstag",minlen:3,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"cunmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cunabbrev",minlen:4,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"cwindow",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"delete",minlen:1,flags:"RANGE|WHOLEFOLD|REGSTR|COUNT|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"delmarks",minlen:4,flags:"BANG|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"debug",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"debuggreedy",minlen:6,flags:"RANGE|NOTADR|ZEROR|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"delcommand",minlen:4,flags:"NEEDARG|WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"delfunction",minlen:4,flags:"BANG|NEEDARG|WORD1|CMDWIN",parser:"parse_cmd_delfunction"},{name:"diffupdate",minlen:3,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"diffget",minlen:5,flags:"RANGE|EXTRA|TRLBAR|MODIFY",parser:"parse_cmd_common"},{name:"diffoff",minlen:5,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"diffpatch",minlen:5,flags:"EXTRA|FILE1|TRLBAR|MODIFY",parser:"parse_cmd_common"},{name:"diffput",minlen:6,flags:"RANGE|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"diffsplit",minlen:5,flags:"EXTRA|FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"diffthis",minlen:5,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"digraphs",minlen:3,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"display",minlen:2,flags:"EXTRA|NOTRLCOM|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"djump",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA",parser:"parse_cmd_common"},{name:"dlist",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"doautocmd",minlen:2,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"doautoall",minlen:7,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"drop",minlen:2,flags:"FILES|EDITCMD|NEEDARG|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"dsearch",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"dsplit",minlen:3,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA",parser:"parse_cmd_common"},{name:"edit",minlen:1,flags:"BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"earlier",minlen:2,flags:"TRLBAR|EXTRA|NOSPC|CMDWIN",parser:"parse_cmd_common"},{name:"echo",minlen:2,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_echo"},{name:"echoerr",minlen:5,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_echoerr"},{name:"echohl",minlen:5,flags:"EXTRA|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_echohl"},{name:"echomsg",minlen:5,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_echomsg"},{name:"echon",minlen:5,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_echon"},{name:"else",minlen:2,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_else"},{name:"elseif",minlen:5,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_elseif"},{name:"emenu",minlen:2,flags:"NEEDARG|EXTRA|TRLBAR|NOTRLCOM|RANGE|NOTADR|CMDWIN",parser:"parse_cmd_common"},{name:"endif",minlen:2,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_endif"},{name:"endfor",minlen:5,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_endfor"},{name:"endfunction",minlen:4,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_endfunction"},{name:"endtry",minlen:4,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_endtry"},{name:"endwhile",minlen:4,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_endwhile"},{name:"enew",minlen:3,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"eval",minlen:2,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_eval"},{name:"ex",minlen:2,flags:"BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"execute",minlen:3,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_execute"},{name:"exit",minlen:3,flags:"RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"exusage",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"file",minlen:1,flags:"RANGE|NOTADR|ZEROR|BANG|FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"files",minlen:5,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"filetype",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"find",minlen:3,flags:"RANGE|NOTADR|BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"finally",minlen:4,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_finally"},{name:"finish",minlen:4,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_finish"},{name:"first",minlen:3,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"fixdel",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"fold",minlen:2,flags:"RANGE|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"foldclose",minlen:5,flags:"RANGE|BANG|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"folddoopen",minlen:5,flags:"RANGE|DFLALL|NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"folddoclosed",minlen:7,flags:"RANGE|DFLALL|NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"foldopen",minlen:5,flags:"RANGE|BANG|WHOLEFOLD|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"for",minlen:3,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_for"},{name:"function",minlen:2,flags:"EXTRA|BANG|CMDWIN",parser:"parse_cmd_function"},{name:"global",minlen:1,flags:"RANGE|WHOLEFOLD|BANG|EXTRA|DFLALL|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"goto",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"grep",minlen:2,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"grepadd",minlen:5,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"gui",minlen:2,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"gvim",minlen:2,flags:"BANG|FILES|EDITCMD|ARGOPT|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"hardcopy",minlen:2,flags:"RANGE|COUNT|EXTRA|TRLBAR|DFLALL|BANG",parser:"parse_cmd_common"},{name:"help",minlen:1,flags:"BANG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"helpfind",minlen:5,flags:"EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"helpgrep",minlen:5,flags:"EXTRA|NOTRLCOM|NEEDARG",parser:"parse_cmd_common"},{name:"helptags",minlen:5,flags:"NEEDARG|FILES|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"highlight",minlen:2,flags:"BANG|EXTRA|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"hide",minlen:3,flags:"BANG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"history",minlen:3,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"insert",minlen:1,flags:"BANG|RANGE|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_insert"},{name:"iabbrev",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"iabclear",minlen:4,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"if",minlen:2,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_if"},{name:"ijump",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA",parser:"parse_cmd_common"},{name:"ilist",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"imap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"imapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"imenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"inoremap",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"inoreabbrev",minlen:6,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"inoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"intro",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"isearch",minlen:2,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"isplit",minlen:3,flags:"BANG|RANGE|DFLALL|WHOLEFOLD|EXTRA",parser:"parse_cmd_common"},{name:"iunmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"iunabbrev",minlen:4,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"iunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"join",minlen:1,flags:"BANG|RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"jumps",minlen:2,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"k",minlen:1,flags:"RANGE|WORD1|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"keepalt",minlen:5,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"keepmarks",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"keepjumps",minlen:5,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"keeppatterns",minlen:5,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"lNext",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lNfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"list",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"laddexpr",minlen:3,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR",parser:"parse_cmd_common"},{name:"laddbuffer",minlen:5,flags:"RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"laddfile",minlen:5,flags:"TRLBAR|FILE1",parser:"parse_cmd_common"},{name:"last",minlen:2,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"language",minlen:3,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"later",minlen:3,flags:"TRLBAR|EXTRA|NOSPC|CMDWIN",parser:"parse_cmd_common"},{name:"lbuffer",minlen:2,flags:"BANG|RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"lcd",minlen:2,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"lchdir",minlen:3,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"lclose",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"lcscope",minlen:3,flags:"EXTRA|NOTRLCOM|XFILE",parser:"parse_cmd_common"},{name:"left",minlen:2,flags:"TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"leftabove",minlen:5,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"let",minlen:3,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_let"},{name:"const",minlen:4,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_const"},{name:"lexpr",minlen:3,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lfile",minlen:2,flags:"TRLBAR|FILE1|BANG",parser:"parse_cmd_common"},{name:"lfirst",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lgetbuffer",minlen:5,flags:"RANGE|NOTADR|WORD1|TRLBAR",parser:"parse_cmd_common"},{name:"lgetexpr",minlen:5,flags:"NEEDARG|WORD1|NOTRLCOM|TRLBAR",parser:"parse_cmd_common"},{name:"lgetfile",minlen:2,flags:"TRLBAR|FILE1",parser:"parse_cmd_common"},{name:"lgrep",minlen:3,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"lgrepadd",minlen:6,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"lhelpgrep",minlen:2,flags:"EXTRA|NOTRLCOM|NEEDARG",parser:"parse_cmd_common"},{name:"ll",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"llast",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"list",minlen:3,flags:"BANG|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"lmake",minlen:4,flags:"BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"lmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"lmapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"lnext",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lnewer",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"lnfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lnoremap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"loadkeymap",minlen:5,flags:"CMDWIN",parser:"parse_cmd_loadkeymap"},{name:"loadview",minlen:2,flags:"FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"lockmarks",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"lockvar",minlen:5,flags:"BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN",parser:"parse_cmd_lockvar"},{name:"lolder",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"lopen",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"lprevious",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lpfile",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"lrewind",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR|BANG",parser:"parse_cmd_common"},{name:"ls",minlen:2,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"ltag",minlen:2,flags:"NOTADR|TRLBAR|BANG|WORD1",parser:"parse_cmd_common"},{name:"lunmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"lua",minlen:3,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_lua"},{name:"luado",minlen:4,flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"luafile",minlen:4,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"lvimgrep",minlen:2,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"lvimgrepadd",minlen:9,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"lwindow",minlen:2,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"move",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"mark",minlen:2,flags:"RANGE|WORD1|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"make",minlen:3,flags:"BANG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"map",minlen:3,flags:"BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"mapclear",minlen:4,flags:"EXTRA|BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"marks",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"match",minlen:3,flags:"RANGE|NOTADR|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"menu",minlen:2,flags:"RANGE|NOTADR|ZEROR|BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"menutranslate",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"messages",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"mkexrc",minlen:2,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"mksession",minlen:3,flags:"BANG|FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"mkspell",minlen:4,flags:"BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"mkvimrc",minlen:3,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"mkview",minlen:5,flags:"BANG|FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"mode",minlen:3,flags:"WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"mzscheme",minlen:2,flags:"RANGE|EXTRA|DFLALL|NEEDARG|CMDWIN|SBOXOK",parser:"parse_cmd_mzscheme"},{name:"mzfile",minlen:3,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"nbclose",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"nbkey",minlen:2,flags:"EXTRA|NOTADR|NEEDARG",parser:"parse_cmd_common"},{name:"nbstart",minlen:3,flags:"WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"next",minlen:1,flags:"RANGE|NOTADR|BANG|FILES|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"new",minlen:3,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"nmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"nmapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"nmenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"nnoremap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"nnoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"noautocmd",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"noremap",minlen:2,flags:"BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"nohlsearch",minlen:3,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"noreabbrev",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"noremenu",minlen:6,flags:"RANGE|NOTADR|ZEROR|BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"normal",minlen:4,flags:"RANGE|BANG|EXTRA|NEEDARG|NOTRLCOM|USECTRLV|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"number",minlen:2,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"nunmap",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"nunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"oldfiles",minlen:2,flags:"BANG|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"open",minlen:1,flags:"RANGE|BANG|EXTRA",parser:"parse_cmd_common"},{name:"omap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"omapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"omenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"only",minlen:2,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"onoremap",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"onoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"options",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"ounmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"ounmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"ownsyntax",minlen:2,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"pclose",minlen:2,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"pedit",minlen:3,flags:"BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"perl",minlen:2,flags:"RANGE|EXTRA|DFLALL|NEEDARG|SBOXOK|CMDWIN",parser:"parse_cmd_perl"},{name:"print",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|SBOXOK",parser:"parse_cmd_common"},{name:"profdel",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"profile",minlen:4,flags:"BANG|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"promptfind",minlen:3,flags:"EXTRA|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"promptrepl",minlen:7,flags:"EXTRA|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"perldo",minlen:5,flags:"RANGE|EXTRA|DFLALL|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"pop",minlen:2,flags:"RANGE|NOTADR|BANG|COUNT|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"popup",minlen:4,flags:"NEEDARG|EXTRA|BANG|TRLBAR|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"ppop",minlen:2,flags:"RANGE|NOTADR|BANG|COUNT|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"preserve",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"previous",minlen:4,flags:"EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"psearch",minlen:2,flags:"BANG|RANGE|WHOLEFOLD|DFLALL|EXTRA",parser:"parse_cmd_common"},{name:"ptag",minlen:2,flags:"RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptNext",minlen:3,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptfirst",minlen:3,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptjump",minlen:3,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"ptlast",minlen:3,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"ptnext",minlen:3,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptprevious",minlen:3,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptrewind",minlen:3,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"ptselect",minlen:3,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"put",minlen:2,flags:"RANGE|WHOLEFOLD|BANG|REGSTR|TRLBAR|ZEROR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"pwd",minlen:2,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"py3",minlen:3,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_python3"},{name:"python3",minlen:7,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_python3"},{name:"py3file",minlen:4,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"python",minlen:2,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_python"},{name:"pyfile",minlen:3,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"pydo",minlen:3,flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"py3do",minlen:4,flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"quit",minlen:1,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"quitall",minlen:5,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"qall",minlen:2,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"read",minlen:1,flags:"BANG|RANGE|WHOLEFOLD|FILE1|ARGOPT|TRLBAR|ZEROR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"recover",minlen:3,flags:"BANG|FILE1|TRLBAR",parser:"parse_cmd_common"},{name:"redo",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"redir",minlen:4,flags:"BANG|FILES|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"redraw",minlen:4,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"redrawstatus",minlen:7,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"registers",minlen:3,flags:"EXTRA|NOTRLCOM|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"resize",minlen:3,flags:"RANGE|NOTADR|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"retab",minlen:3,flags:"TRLBAR|RANGE|WHOLEFOLD|DFLALL|BANG|WORD1|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"return",minlen:4,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_return"},{name:"rewind",minlen:3,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"right",minlen:2,flags:"TRLBAR|RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"rightbelow",minlen:6,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"ruby",minlen:3,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_ruby"},{name:"rubydo",minlen:5,flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"rubyfile",minlen:5,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"rundo",minlen:4,flags:"NEEDARG|FILE1",parser:"parse_cmd_common"},{name:"runtime",minlen:2,flags:"BANG|NEEDARG|FILES|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"rviminfo",minlen:2,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"substitute",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"sNext",minlen:2,flags:"EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"sandbox",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"sargument",minlen:2,flags:"BANG|RANGE|NOTADR|COUNT|EXTRA|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"sall",minlen:3,flags:"BANG|RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"saveas",minlen:3,flags:"BANG|DFLALL|FILE1|ARGOPT|CMDWIN|TRLBAR",parser:"parse_cmd_common"},{name:"sbuffer",minlen:2,flags:"BANG|RANGE|NOTADR|BUFNAME|BUFUNL|COUNT|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"sbNext",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sball",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sbfirst",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"sblast",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"sbmodified",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sbnext",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sbprevious",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sbrewind",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"scriptnames",minlen:3,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"scriptencoding",minlen:7,flags:"WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"scscope",minlen:3,flags:"EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"set",minlen:2,flags:"TRLBAR|EXTRA|CMDWIN|SBOXOK",parser:"parse_cmd_common"},{name:"setfiletype",minlen:4,flags:"TRLBAR|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"setglobal",minlen:4,flags:"TRLBAR|EXTRA|CMDWIN|SBOXOK",parser:"parse_cmd_common"},{name:"setlocal",minlen:4,flags:"TRLBAR|EXTRA|CMDWIN|SBOXOK",parser:"parse_cmd_common"},{name:"sfind",minlen:2,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"sfirst",minlen:4,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"shell",minlen:2,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"simalt",minlen:3,flags:"NEEDARG|WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"sign",minlen:3,flags:"NEEDARG|RANGE|NOTADR|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"silent",minlen:3,flags:"NEEDARG|EXTRA|BANG|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"sleep",minlen:2,flags:"RANGE|NOTADR|COUNT|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"slast",minlen:3,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"smagic",minlen:2,flags:"RANGE|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"smap",minlen:4,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"smapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"smenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"snext",minlen:2,flags:"RANGE|NOTADR|BANG|FILES|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"sniff",minlen:3,flags:"EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"snomagic",minlen:3,flags:"RANGE|WHOLEFOLD|EXTRA|CMDWIN",parser:"parse_cmd_common"},{name:"snoremap",minlen:4,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"snoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"sort",minlen:3,flags:"RANGE|DFLALL|WHOLEFOLD|BANG|EXTRA|NOTRLCOM|MODIFY",parser:"parse_cmd_common"},{name:"source",minlen:2,flags:"BANG|FILE1|TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"spelldump",minlen:6,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"spellgood",minlen:3,flags:"BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"spellinfo",minlen:6,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"spellrepall",minlen:6,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"spellundo",minlen:6,flags:"BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"spellwrong",minlen:6,flags:"BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR",parser:"parse_cmd_common"},{name:"split",minlen:2,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"sprevious",minlen:3,flags:"EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"srewind",minlen:3,flags:"EXTRA|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"stop",minlen:2,flags:"TRLBAR|BANG|CMDWIN",parser:"parse_cmd_common"},{name:"stag",minlen:3,flags:"RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"startinsert",minlen:4,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"startgreplace",minlen:6,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"startreplace",minlen:6,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"stopinsert",minlen:5,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"stjump",minlen:3,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"stselect",minlen:3,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"sunhide",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"sunmap",minlen:4,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"sunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"suspend",minlen:3,flags:"TRLBAR|BANG|CMDWIN",parser:"parse_cmd_common"},{name:"sview",minlen:2,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"swapname",minlen:2,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"syntax",minlen:2,flags:"EXTRA|NOTRLCOM|CMDWIN",parser:"parse_cmd_syntax"},{name:"syntime",minlen:5,flags:"NEEDARG|WORD1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"syncbind",minlen:4,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"t",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"tNext",minlen:2,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"tabNext",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"tabclose",minlen:4,flags:"RANGE|NOTADR|COUNT|BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"tabdo",minlen:4,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"tabedit",minlen:4,flags:"BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"tabfind",minlen:4,flags:"BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|NEEDARG|TRLBAR",parser:"parse_cmd_common"},{name:"tabfirst",minlen:6,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"tablast",minlen:4,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"tabmove",minlen:4,flags:"RANGE|NOTADR|ZEROR|EXTRA|NOSPC|TRLBAR",parser:"parse_cmd_common"},{name:"tabnew",minlen:6,flags:"BANG|FILE1|RANGE|NOTADR|ZEROR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"tabnext",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"tabonly",minlen:4,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"tabprevious",minlen:4,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"tabrewind",minlen:4,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"tabs",minlen:4,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"tab",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"tag",minlen:2,flags:"RANGE|NOTADR|BANG|WORD1|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"tags",minlen:4,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"tcl",minlen:2,flags:"RANGE|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_tcl"},{name:"tcldo",minlen:4,flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"tclfile",minlen:4,flags:"RANGE|FILE1|NEEDARG|CMDWIN",parser:"parse_cmd_common"},{name:"tearoff",minlen:2,flags:"NEEDARG|EXTRA|TRLBAR|NOTRLCOM|CMDWIN",parser:"parse_cmd_common"},{name:"tfirst",minlen:2,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"throw",minlen:2,flags:"EXTRA|NEEDARG|SBOXOK|CMDWIN",parser:"parse_cmd_throw"},{name:"tjump",minlen:2,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"tlast",minlen:2,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"tmenu",minlen:2,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"tnext",minlen:2,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"topleft",minlen:2,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"tprevious",minlen:2,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"trewind",minlen:2,flags:"RANGE|NOTADR|BANG|TRLBAR|ZEROR",parser:"parse_cmd_common"},{name:"try",minlen:3,flags:"TRLBAR|SBOXOK|CMDWIN",parser:"parse_cmd_try"},{name:"tselect",minlen:2,flags:"BANG|TRLBAR|WORD1",parser:"parse_cmd_common"},{name:"tunmenu",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"undo",minlen:1,flags:"RANGE|NOTADR|COUNT|ZEROR|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"undojoin",minlen:5,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"undolist",minlen:5,flags:"TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"unabbreviate",minlen:3,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"unhide",minlen:3,flags:"RANGE|NOTADR|COUNT|TRLBAR",parser:"parse_cmd_common"},{name:"unlet",minlen:3,flags:"BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN",parser:"parse_cmd_unlet"},{name:"unlockvar",minlen:4,flags:"BANG|EXTRA|NEEDARG|SBOXOK|CMDWIN",parser:"parse_cmd_unlockvar"},{name:"unmap",minlen:3,flags:"BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"unmenu",minlen:4,flags:"BANG|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"unsilent",minlen:3,flags:"NEEDARG|EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"update",minlen:2,flags:"RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR",parser:"parse_cmd_common"},{name:"vglobal",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|DFLALL|CMDWIN",parser:"parse_cmd_common"},{name:"version",minlen:2,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"verbose",minlen:4,flags:"NEEDARG|RANGE|NOTADR|EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_common"},{name:"vertical",minlen:4,flags:"NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"vimgrep",minlen:3,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"vimgrepadd",minlen:8,flags:"RANGE|NOTADR|BANG|NEEDARG|EXTRA|NOTRLCOM|TRLBAR|XFILE",parser:"parse_cmd_common"},{name:"visual",minlen:2,flags:"BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"viusage",minlen:3,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"view",minlen:3,flags:"BANG|FILE1|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"vmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"vmapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"vmenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"vnew",minlen:3,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"vnoremap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"vnoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"vsplit",minlen:2,flags:"BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"vunmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"vunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"windo",minlen:5,flags:"BANG|NEEDARG|EXTRA|NOTRLCOM",parser:"parse_cmd_common"},{name:"write",minlen:1,flags:"RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"wNext",minlen:2,flags:"RANGE|WHOLEFOLD|NOTADR|BANG|FILE1|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"wall",minlen:2,flags:"BANG|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"while",minlen:2,flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",parser:"parse_cmd_while"},{name:"winsize",minlen:2,flags:"EXTRA|NEEDARG|TRLBAR",parser:"parse_cmd_common"},{name:"wincmd",minlen:4,flags:"NEEDARG|WORD1|RANGE|NOTADR",parser:"parse_wincmd"},{name:"winpos",minlen:4,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"wnext",minlen:2,flags:"RANGE|NOTADR|BANG|FILE1|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"wprevious",minlen:2,flags:"RANGE|NOTADR|BANG|FILE1|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"wq",minlen:2,flags:"RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR",parser:"parse_cmd_common"},{name:"wqall",minlen:3,flags:"BANG|FILE1|ARGOPT|DFLALL|TRLBAR",parser:"parse_cmd_common"},{name:"wsverb",minlen:2,flags:"EXTRA|NOTADR|NEEDARG",parser:"parse_cmd_common"},{name:"wundo",minlen:2,flags:"BANG|NEEDARG|FILE1",parser:"parse_cmd_common"},{name:"wviminfo",minlen:2,flags:"BANG|FILE1|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"xit",minlen:1,flags:"RANGE|WHOLEFOLD|BANG|FILE1|ARGOPT|DFLALL|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"xall",minlen:2,flags:"BANG|TRLBAR",parser:"parse_cmd_common"},{name:"xmapclear",minlen:5,flags:"EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"xmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"xmenu",minlen:3,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"xnoremap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"xnoremenu",minlen:7,flags:"RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"xunmap",minlen:2,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"xunmenu",minlen:5,flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",parser:"parse_cmd_common"},{name:"yank",minlen:1,flags:"RANGE|WHOLEFOLD|REGSTR|COUNT|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"z",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"!",minlen:1,flags:"RANGE|WHOLEFOLD|BANG|FILES|CMDWIN",parser:"parse_cmd_common"},{name:"#",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"&",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"*",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"<",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"=",minlen:1,flags:"RANGE|TRLBAR|DFLALL|EXFLAGS|CMDWIN",parser:"parse_cmd_common"},{name:">",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN|MODIFY",parser:"parse_cmd_common"},{name:"@",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"Next",minlen:1,flags:"EXTRA|RANGE|NOTADR|COUNT|BANG|EDITCMD|ARGOPT|TRLBAR",parser:"parse_cmd_common"},{name:"Print",minlen:1,flags:"RANGE|WHOLEFOLD|COUNT|EXFLAGS|TRLBAR|CMDWIN",parser:"parse_cmd_common"},{name:"X",minlen:1,flags:"TRLBAR",parser:"parse_cmd_common"},{name:"~",minlen:1,flags:"RANGE|WHOLEFOLD|EXTRA|CMDWIN|MODIFY",parser:"parse_cmd_common"},{flags:"TRLBAR",minlen:3,name:"cbottom",parser:"parse_cmd_common"},{flags:"BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL",minlen:3,name:"cdo",parser:"parse_cmd_common"},{flags:"BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL",minlen:3,name:"cfdo",parser:"parse_cmd_common"},{flags:"TRLBAR",minlen:3,name:"chistory",parser:"parse_cmd_common"},{flags:"TRLBAR|CMDWIN",minlen:3,name:"clearjumps",parser:"parse_cmd_common"},{flags:"BANG|NEEDARG|EXTRA|NOTRLCOM",minlen:4,name:"filter",parser:"parse_cmd_common"},{flags:"RANGE|NOTADR|COUNT|TRLBAR",minlen:5,name:"helpclose",parser:"parse_cmd_common"},{flags:"TRLBAR",minlen:3,name:"lbottom",parser:"parse_cmd_common"},{flags:"BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL",minlen:2,name:"ldo",parser:"parse_cmd_common"},{flags:"BANG|NEEDARG|EXTRA|NOTRLCOM|RANGE|NOTADR|DFLALL",minlen:3,name:"lfdo",parser:"parse_cmd_common"},{flags:"TRLBAR",minlen:3,name:"lhistory",parser:"parse_cmd_common"},{flags:"BANG|EXTRA|TRLBAR|CMDWIN",minlen:3,name:"llist",parser:"parse_cmd_common"},{flags:"NEEDARG|EXTRA|NOTRLCOM",minlen:3,name:"noswapfile",parser:"parse_cmd_common"},{flags:"BANG|FILE1|NEEDARG|TRLBAR|SBOXOK|CMDWIN",minlen:2,name:"packadd",parser:"parse_cmd_common"},{flags:"BANG|TRLBAR|SBOXOK|CMDWIN",minlen:5,name:"packloadall",parser:"parse_cmd_common"},{flags:"TRLBAR|CMDWIN|SBOXOK",minlen:3,name:"smile",parser:"parse_cmd_common"},{flags:"RANGE|EXTRA|NEEDARG|CMDWIN",minlen:3,name:"pyx",parser:"parse_cmd_common"},{flags:"RANGE|DFLALL|EXTRA|NEEDARG|CMDWIN",minlen:4,name:"pyxdo",parser:"parse_cmd_common"},{flags:"RANGE|EXTRA|NEEDARG|CMDWIN",minlen:7,name:"pythonx",parser:"parse_cmd_common"},{flags:"RANGE|FILE1|NEEDARG|CMDWIN",minlen:4,name:"pyxfile",parser:"parse_cmd_common"},{flags:"RANGE|BANG|FILES|CMDWIN",minlen:3,name:"terminal",parser:"parse_cmd_common"},{flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",minlen:3,name:"tmap",parser:"parse_cmd_common"},{flags:"EXTRA|TRLBAR|CMDWIN",minlen:5,name:"tmapclear",parser:"parse_cmd_common"},{flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",minlen:3,name:"tnoremap",parser:"parse_cmd_common"},{flags:"EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN",minlen:5,name:"tunmap",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:4,name:"cabove",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:3,name:"cafter",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:3,name:"cbefore",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:4,name:"cbelow",parser:"parse_cmd_common"},{flags:"EXTRA|NOTRLCOM|SBOXOK|CMDWIN",minlen:4,name:"const",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:3,name:"labove",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:3,name:"lafter",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:3,name:"lbefore",parser:"parse_cmd_common"},{flags:"RANGE|COUNT|TRLBAR",minlen:4,name:"lbelow",parser:"parse_cmd_common"},{flags:"TRLBAR|CMDWIN",minlen:7,name:"redrawtabline",parser:"parse_cmd_common"},{flags:"WORD1|TRLBAR|CMDWIN",minlen:7,name:"scriptversion",parser:"parse_cmd_common"},{flags:"BANG|FILE1|TRLBAR|CMDWIN",minlen:2,name:"tcd",parser:"parse_cmd_common"},{flags:"BANG|FILE1|TRLBAR|CMDWIN",minlen:3,name:"tchdir",parser:"parse_cmd_common"},{flags:"RANGE|ZEROR|EXTRA|TRLBAR|NOTRLCOM|CTRLV|CMDWIN",minlen:3,name:"tlmenu",parser:"parse_cmd_common"},{flags:"RANGE|ZEROR|EXTRA|TRLBAR|NOTRLCOM|CTRLV|CMDWIN",minlen:3,name:"tlnoremenu",parser:"parse_cmd_common"},{flags:"RANGE|ZEROR|EXTRA|TRLBAR|NOTRLCOM|CTRLV|CMDWIN",minlen:3,name:"tlunmenu",parser:"parse_cmd_common"},{flags:"EXTRA|TRLBAR|CMDWIN",minlen:2,name:"xrestore",parser:"parse_cmd_common"},{flags:"EXTRA|BANG|SBOXOK|CMDWIN",minlen:3,name:"def",parser:"parse_cmd_common"},{flags:"EXTRA|NEEDARG|TRLBAR|CMDWIN",minlen:4,name:"disassemble",parser:"parse_cmd_common"},{flags:"TRLBAR|CMDWIN",minlen:4,name:"enddef",parser:"parse_cmd_common"},{flags:"EXTRA|NOTRLCOM",minlen:3,name:"export",parser:"parse_cmd_common"},{flags:"EXTRA|NOTRLCOM",minlen:3,name:"import",parser:"parse_cmd_common"},{flags:"BANG|RANGE|NEEDARG|EXTRA|TRLBAR",minlen:7,name:"spellrare",parser:"parse_cmd_common"},{flags:"",minlen:4,name:"vim9script",parser:"parse_cmd_common"}],M.prototype.builtin_functions=[{name:"abs",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"acos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"add",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"and",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"append",min_argc:2,max_argc:2,argtype:"FEARG_LAST"},{name:"appendbufline",min_argc:3,max_argc:3,argtype:"FEARG_LAST"},{name:"argc",min_argc:0,max_argc:1,argtype:"0"},{name:"argidx",min_argc:0,max_argc:0,argtype:"0"},{name:"arglistid",min_argc:0,max_argc:2,argtype:"0"},{name:"argv",min_argc:0,max_argc:2,argtype:"0"},{name:"asin",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"assert_beeps",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"assert_equal",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"assert_equalfile",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"assert_exception",min_argc:1,max_argc:2,argtype:"0"},{name:"assert_fails",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"assert_false",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"assert_inrange",min_argc:3,max_argc:4,argtype:"FEARG_3"},{name:"assert_match",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"assert_notequal",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"assert_notmatch",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"assert_report",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"assert_true",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"atan",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"atan2",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"balloon_gettext",min_argc:0,max_argc:0,argtype:"0"},{name:"balloon_show",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"balloon_split",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"browse",min_argc:4,max_argc:4,argtype:"0"},{name:"browsedir",min_argc:2,max_argc:2,argtype:"0"},{name:"bufadd",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"bufexists",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"buffer_exists",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"buffer_name",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"buffer_number",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"buflisted",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"bufload",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"bufloaded",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"bufname",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"bufnr",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"bufwinid",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"bufwinnr",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"byte2line",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"byteidx",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"byteidxcomp",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"call",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"ceil",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_canread",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_close",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_close_in",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_evalexpr",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"ch_evalraw",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"ch_getbufnr",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"ch_getjob",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_info",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"ch_log",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_logfile",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_open",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_read",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_readblob",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_readraw",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"ch_sendexpr",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"ch_sendraw",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"ch_setoptions",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"ch_status",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"changenr",min_argc:0,max_argc:0,argtype:"0"},{name:"char2nr",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"chdir",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"cindent",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"clearmatches",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"col",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"complete",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"complete_add",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"complete_check",min_argc:0,max_argc:0,argtype:"0"},{name:"complete_info",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"confirm",min_argc:1,max_argc:4,argtype:"FEARG_1"},{name:"copy",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"cos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"cosh",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"count",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"cscope_connection",min_argc:0,max_argc:3,argtype:"0"},{name:"cursor",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"debugbreak",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"deepcopy",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"delete",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"deletebufline",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"did_filetype",min_argc:0,max_argc:0,argtype:"0"},{name:"diff_filler",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"diff_hlID",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"echoraw",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"empty",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"environ",min_argc:0,max_argc:0,argtype:"0"},{name:"escape",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"eval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"eventhandler",min_argc:0,max_argc:0,argtype:"0"},{name:"executable",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"execute",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"exepath",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"exists",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"exp",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"expand",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"expandcmd",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"extend",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"feedkeys",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"file_readable",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"filereadable",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"filewritable",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"filter",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"finddir",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"findfile",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"float2nr",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"floor",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"fmod",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"fnameescape",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"fnamemodify",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"foldclosed",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"foldclosedend",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"foldlevel",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"foldtext",min_argc:0,max_argc:0,argtype:"0"},{name:"foldtextresult",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"foreground",min_argc:0,max_argc:0,argtype:"0"},{name:"funcref",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"function",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"garbagecollect",min_argc:0,max_argc:1,argtype:"0"},{name:"get",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"getbufinfo",min_argc:0,max_argc:1,argtype:"0"},{name:"getbufline",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"getbufvar",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"getchangelist",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"getchar",min_argc:0,max_argc:1,argtype:"0"},{name:"getcharmod",min_argc:0,max_argc:0,argtype:"0"},{name:"getcharsearch",min_argc:0,max_argc:0,argtype:"0"},{name:"getcmdline",min_argc:0,max_argc:0,argtype:"0"},{name:"getcmdpos",min_argc:0,max_argc:0,argtype:"0"},{name:"getcmdtype",min_argc:0,max_argc:0,argtype:"0"},{name:"getcmdwintype",min_argc:0,max_argc:0,argtype:"0"},{name:"getcompletion",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"getcurpos",min_argc:0,max_argc:0,argtype:"0"},{name:"getcwd",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"getenv",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getfontname",min_argc:0,max_argc:1,argtype:"0"},{name:"getfperm",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getfsize",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getftime",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getftype",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getimstatus",min_argc:0,max_argc:0,argtype:"0"},{name:"getjumplist",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"getline",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"getloclist",min_argc:1,max_argc:2,argtype:"0"},{name:"getmatches",min_argc:0,max_argc:1,argtype:"0"},{name:"getmousepos",min_argc:0,max_argc:0,argtype:"0"},{name:"getpid",min_argc:0,max_argc:0,argtype:"0"},{name:"getpos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"getqflist",min_argc:0,max_argc:1,argtype:"0"},{name:"getreg",min_argc:0,max_argc:3,argtype:"FEARG_1"},{name:"getregtype",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"gettabinfo",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"gettabvar",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"gettabwinvar",min_argc:3,max_argc:4,argtype:"FEARG_1"},{name:"gettagstack",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"getwininfo",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"getwinpos",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"getwinposx",min_argc:0,max_argc:0,argtype:"0"},{name:"getwinposy",min_argc:0,max_argc:0,argtype:"0"},{name:"getwinvar",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"glob",min_argc:1,max_argc:4,argtype:"FEARG_1"},{name:"glob2regpat",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"globpath",min_argc:2,max_argc:5,argtype:"FEARG_2"},{name:"has",min_argc:1,max_argc:1,argtype:"0"},{name:"has_key",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"haslocaldir",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"hasmapto",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"highlightID",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"highlight_exists",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"histadd",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"histdel",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"histget",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"histnr",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"hlID",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"hlexists",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"hostname",min_argc:0,max_argc:0,argtype:"0"},{name:"iconv",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"indent",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"index",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"input",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"inputdialog",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"inputlist",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"inputrestore",min_argc:0,max_argc:0,argtype:"0"},{name:"inputsave",min_argc:0,max_argc:0,argtype:"0"},{name:"inputsecret",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"insert",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"interrupt",min_argc:0,max_argc:0,argtype:"0"},{name:"invert",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"isdirectory",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"isinf",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"islocked",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"isnan",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"items",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"job_getchannel",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"job_info",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"job_setoptions",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"job_start",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"job_status",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"job_stop",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"join",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"js_decode",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"js_encode",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"json_decode",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"json_encode",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"keys",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"last_buffer_nr",min_argc:0,max_argc:0,argtype:"0"},{name:"len",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"libcall",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"libcallnr",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"line",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"line2byte",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"lispindent",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"list2str",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"listener_add",min_argc:1,max_argc:2,argtype:"FEARG_2"},{name:"listener_flush",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"listener_remove",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"localtime",min_argc:0,max_argc:0,argtype:"0"},{name:"log",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"log10",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"luaeval",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"map",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"maparg",min_argc:1,max_argc:4,argtype:"FEARG_1"},{name:"mapcheck",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"match",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"matchadd",min_argc:2,max_argc:5,argtype:"FEARG_1"},{name:"matchaddpos",min_argc:2,max_argc:5,argtype:"FEARG_1"},{name:"matcharg",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"matchdelete",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"matchend",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"matchlist",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"matchstr",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"matchstrpos",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"max",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"min",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"mkdir",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"mode",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"mzeval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"nextnonblank",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"nr2char",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"or",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"pathshorten",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"perleval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"popup_atcursor",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_beval",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_clear",min_argc:0,max_argc:0,argtype:"0"},{name:"popup_close",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"popup_create",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_dialog",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_filter_menu",min_argc:2,max_argc:2,argtype:"0"},{name:"popup_filter_yesno",min_argc:2,max_argc:2,argtype:"0"},{name:"popup_findinfo",min_argc:0,max_argc:0,argtype:"0"},{name:"popup_findpreview",min_argc:0,max_argc:0,argtype:"0"},{name:"popup_getoptions",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"popup_getpos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"popup_hide",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"popup_locate",min_argc:2,max_argc:2,argtype:"0"},{name:"popup_menu",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_move",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_notification",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_setoptions",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_settext",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"popup_show",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"pow",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prevnonblank",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"printf",min_argc:1,max_argc:19,argtype:"FEARG_2"},{name:"prompt_setcallback",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prompt_setinterrupt",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prompt_setprompt",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prop_add",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"prop_clear",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"prop_find",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"prop_list",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"prop_remove",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"prop_type_add",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prop_type_change",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"prop_type_delete",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"prop_type_get",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"prop_type_list",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"pum_getpos",min_argc:0,max_argc:0,argtype:"0"},{name:"pumvisible",min_argc:0,max_argc:0,argtype:"0"},{name:"py3eval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"pyeval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"pyxeval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"rand",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"range",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"readdir",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"readfile",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"reg_executing",min_argc:0,max_argc:0,argtype:"0"},{name:"reg_recording",min_argc:0,max_argc:0,argtype:"0"},{name:"reltime",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"reltimefloat",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"reltimestr",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"remote_expr",min_argc:2,max_argc:4,argtype:"FEARG_1"},{name:"remote_foreground",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"remote_peek",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"remote_read",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"remote_send",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"remote_startserver",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"remove",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"rename",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"repeat",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"resolve",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"reverse",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"round",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"rubyeval",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"screenattr",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"screenchar",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"screenchars",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"screencol",min_argc:0,max_argc:0,argtype:"0"},{name:"screenpos",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"screenrow",min_argc:0,max_argc:0,argtype:"0"},{name:"screenstring",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"search",min_argc:1,max_argc:4,argtype:"FEARG_1"},{name:"searchdecl",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"searchpair",min_argc:3,max_argc:7,argtype:"0"},{name:"searchpairpos",min_argc:3,max_argc:7,argtype:"0"},{name:"searchpos",min_argc:1,max_argc:4,argtype:"FEARG_1"},{name:"server2client",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"serverlist",min_argc:0,max_argc:0,argtype:"0"},{name:"setbufline",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"setbufvar",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"setcharsearch",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"setcmdpos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"setenv",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"setfperm",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"setline",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"setloclist",min_argc:2,max_argc:4,argtype:"FEARG_2"},{name:"setmatches",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"setpos",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"setqflist",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"setreg",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"settabvar",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"settabwinvar",min_argc:4,max_argc:4,argtype:"FEARG_4"},{name:"settagstack",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"setwinvar",min_argc:3,max_argc:3,argtype:"FEARG_3"},{name:"sha256",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"shellescape",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"shiftwidth",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"sign_define",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"sign_getdefined",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"sign_getplaced",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"sign_jump",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"sign_place",min_argc:4,max_argc:5,argtype:"FEARG_1"},{name:"sign_placelist",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"sign_undefine",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"sign_unplace",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"sign_unplacelist",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"simplify",min_argc:1,max_argc:1,argtype:"0"},{name:"sin",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"sinh",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"sort",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"sound_clear",min_argc:0,max_argc:0,argtype:"0"},{name:"sound_playevent",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"sound_playfile",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"sound_stop",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"soundfold",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"spellbadword",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"spellsuggest",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"split",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"sqrt",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"srand",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"state",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"str2float",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"str2list",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"str2nr",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"strcharpart",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"strchars",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"strdisplaywidth",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"strftime",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"strgetchar",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"stridx",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"string",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"strlen",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"strpart",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"strptime",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"strridx",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"strtrans",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"strwidth",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"submatch",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"substitute",min_argc:4,max_argc:4,argtype:"FEARG_1"},{name:"swapinfo",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"swapname",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"synID",min_argc:3,max_argc:3,argtype:"0"},{name:"synIDattr",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"synIDtrans",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"synconcealed",min_argc:2,max_argc:2,argtype:"0"},{name:"synstack",min_argc:2,max_argc:2,argtype:"0"},{name:"system",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"systemlist",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"tabpagebuflist",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"tabpagenr",min_argc:0,max_argc:1,argtype:"0"},{name:"tabpagewinnr",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"tagfiles",min_argc:0,max_argc:0,argtype:"0"},{name:"taglist",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"tan",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"tanh",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"tempname",min_argc:0,max_argc:0,argtype:"0"},{name:"term_dumpdiff",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"term_dumpload",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"term_dumpwrite",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"term_getaltscreen",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getansicolors",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getattr",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_getcursor",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getjob",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getline",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_getscrolled",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getsize",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_getstatus",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_gettitle",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"term_gettty",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"term_list",min_argc:0,max_argc:0,argtype:"0"},{name:"term_scrape",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_sendkeys",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_setansicolors",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_setapi",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_setkill",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_setrestore",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"term_setsize",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"term_start",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"term_wait",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"test_alloc_fail",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"test_autochdir",min_argc:0,max_argc:0,argtype:"0"},{name:"test_feedinput",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_garbagecollect_now",min_argc:0,max_argc:0,argtype:"0"},{name:"test_garbagecollect_soon",min_argc:0,max_argc:0,argtype:"0"},{name:"test_getvalue",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_ignore_error",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_null_blob",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_channel",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_dict",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_job",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_list",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_partial",min_argc:0,max_argc:0,argtype:"0"},{name:"test_null_string",min_argc:0,max_argc:0,argtype:"0"},{name:"test_option_not_set",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_override",min_argc:2,max_argc:2,argtype:"FEARG_2"},{name:"test_refcount",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_scrollbar",min_argc:3,max_argc:3,argtype:"FEARG_2"},{name:"test_setmouse",min_argc:2,max_argc:2,argtype:"0"},{name:"test_settime",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"test_srand_seed",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"test_unknown",min_argc:0,max_argc:0,argtype:"0"},{name:"test_void",min_argc:0,max_argc:0,argtype:"0"},{name:"timer_info",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"timer_pause",min_argc:2,max_argc:2,argtype:"FEARG_1"},{name:"timer_start",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"timer_stop",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"timer_stopall",min_argc:0,max_argc:0,argtype:"0"},{name:"tolower",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"toupper",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"tr",min_argc:3,max_argc:3,argtype:"FEARG_1"},{name:"trim",min_argc:1,max_argc:2,argtype:"FEARG_1"},{name:"trunc",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"type",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"undofile",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"undotree",min_argc:0,max_argc:0,argtype:"0"},{name:"uniq",min_argc:1,max_argc:3,argtype:"FEARG_1"},{name:"values",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"virtcol",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"visualmode",min_argc:0,max_argc:1,argtype:"0"},{name:"wildmenumode",min_argc:0,max_argc:0,argtype:"0"},{name:"win_execute",min_argc:2,max_argc:3,argtype:"FEARG_2"},{name:"win_findbuf",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"win_getid",min_argc:0,max_argc:2,argtype:"FEARG_1"},{name:"win_gettype",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"win_gotoid",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"win_id2tabwin",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"win_id2win",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"win_screenpos",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"win_splitmove",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"winbufnr",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"wincol",min_argc:0,max_argc:0,argtype:"0"},{name:"windowsversion",min_argc:0,max_argc:0,argtype:"0"},{name:"winheight",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"winlayout",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"winline",min_argc:0,max_argc:0,argtype:"0"},{name:"winnr",min_argc:0,max_argc:1,argtype:"FEARG_1"},{name:"winrestcmd",min_argc:0,max_argc:0,argtype:"0"},{name:"winrestview",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"winsaveview",min_argc:0,max_argc:0,argtype:"0"},{name:"winwidth",min_argc:1,max_argc:1,argtype:"FEARG_1"},{name:"wordcount",min_argc:0,max_argc:0,argtype:"0"},{name:"writefile",min_argc:2,max_argc:3,argtype:"FEARG_1"},{name:"xor",min_argc:2,max_argc:2,argtype:"FEARG_1"}],I.prototype.__init__=function(e){this.reader=e,this.cache={}},I.prototype.token=function(e,t,r){return{type:e,value:t,pos:r}},I.prototype.peek=function(){var e=this.reader.tell(),t=this.get();return this.reader.seek_set(e),t},I.prototype.get=function(){if(b(this.cache,this.reader.tell())){var e=this.cache[this.reader.tell()];return this.reader.seek_set(e[0]),e[1]}var t=this.reader.tell();this.reader.skip_white();var r=this.get2();return this.cache[t]=[this.reader.tell(),r],r},I.prototype.get2=function(){var e=this.reader,t=e.getpos(),r=e.peek();if("<EOF>"==r)return this.token(1,r,t);if("<EOL>"==r)return e.seek_cur(1),this.token(2,r,t);if(w(r)){var n=e.read_white();return this.token(3,n,t)}if("0"!=r||"X"!=e.p(1)&&"x"!=e.p(1)||!O(e.p(2))){if("0"!=r||"B"!=e.p(1)&&"b"!=e.p(1)||"0"!=e.p(2)&&"1"!=e.p(2)){if("0"!=r||"Z"!=e.p(1)&&"z"!=e.p(1)||"."==e.p(2)){if(x(r)){n=e.read_digit();return"."==e.p(0)&&x(e.p(1))&&(n+=e.getn(1),n+=e.read_digit(),"E"!=e.p(0)&&"e"!=e.p(0)||!x(e.p(1))&&("-"!=e.p(1)&&"+"!=e.p(1)||!x(e.p(2)))||(n+=e.getn(2),n+=e.read_digit())),this.token(52,n,t)}if("i"!=r||"s"!=e.p(1)||L(e.p(2))){if("i"!=r||"s"!=e.p(1)||"n"!=e.p(2)||"o"!=e.p(3)||"t"!=e.p(4)||L(e.p(5))){if(function(e){return u(e,"^[A-Za-z_]$")}(r)){n=e.read_name();return this.token(56,n,t)}if("|"==r&&"|"==e.p(1))return e.seek_cur(2),this.token(4,"||",t);if("&"==r&&"&"==e.p(1))return e.seek_cur(2),this.token(5,"&&",t);if("="==r&&"="==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(7,"==?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(8,"==#",t)):(e.seek_cur(2),this.token(6,"==",t));if("!"==r&&"="==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(10,"!=?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(11,"!=#",t)):(e.seek_cur(2),this.token(9,"!=",t));if(">"==r&&"="==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(16,">=?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(17,">=#",t)):(e.seek_cur(2),this.token(15,">=",t));if("<"==r&&"="==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(22,"<=?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(23,"<=#",t)):(e.seek_cur(2),this.token(21,"<=",t));if("="==r&&"~"==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(25,"=~?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(26,"=~#",t)):(e.seek_cur(2),this.token(24,"=~",t));if("!"==r&&"~"==e.p(1))return"?"==e.p(2)?(e.seek_cur(3),this.token(28,"!~?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(29,"!~#",t)):(e.seek_cur(2),this.token(27,"!~",t));if(">"==r)return"?"==e.p(1)?(e.seek_cur(2),this.token(13,">?",t)):"#"==e.p(1)?(e.seek_cur(2),this.token(14,">#",t)):(e.seek_cur(1),this.token(12,">",t));if("<"==r)return"?"==e.p(1)?(e.seek_cur(2),this.token(19,"<?",t)):"#"==e.p(1)?(e.seek_cur(2),this.token(20,"<#",t)):(e.seek_cur(1),this.token(18,"<",t));if("+"==r)return e.seek_cur(1),this.token(36,"+",t);if("-"==r)return">"==e.p(1)?(e.seek_cur(2),this.token(65,"->",t)):(e.seek_cur(1),this.token(37,"-",t));if("."==r)return"."==e.p(1)&&"."==e.p(2)?(e.seek_cur(3),this.token(63,"...",t)):"."==e.p(1)?(e.seek_cur(2),this.token(68,"..",t)):(e.seek_cur(1),this.token(38,".",t));if("*"==r)return e.seek_cur(1),this.token(39,"*",t);if("/"==r)return e.seek_cur(1),this.token(40,"/",t);if("%"==r)return e.seek_cur(1),this.token(41,"%",t);if("!"==r)return e.seek_cur(1),this.token(42,"!",t);if("?"==r)return e.seek_cur(1),this.token(43,"?",t);if(":"==r)return e.seek_cur(1),this.token(44,":",t);if("#"==r)return"{"==e.p(1)?(e.seek_cur(2),this.token(67,"#{",t)):(e.seek_cur(1),this.token(64,"#",t));if("("==r)return e.seek_cur(1),this.token(45,"(",t);if(")"==r)return e.seek_cur(1),this.token(46,")",t);if("["==r)return e.seek_cur(1),this.token(47,"[",t);if("]"==r)return e.seek_cur(1),this.token(48,"]",t);if("{"==r)return e.seek_cur(1),this.token(49,"{",t);if("}"==r)return e.seek_cur(1),this.token(50,"}",t);if(","==r)return e.seek_cur(1),this.token(51,",",t);if("'"==r)return e.seek_cur(1),this.token(53,"'",t);if('"'==r)return e.seek_cur(1),this.token(54,'"',t);if("$"==r){n=e.getn(1);return n+=e.read_word(),this.token(57,n,t)}if("@"==r)return this.token(58,e.getn(2),t);if("&"==r){n="";if("g"!=e.p(1)&&"l"!=e.p(1)||":"!=e.p(2))n=e.getn(1)+e.read_word();else n=e.getn(3)+e.read_word();return this.token(55,n,t)}if("="==r)return e.seek_cur(1),this.token(59,"=",t);if("|"==r)return e.seek_cur(1),this.token(60,"|",t);if(";"==r)return e.seek_cur(1),this.token(61,";",t);if("`"==r)return e.seek_cur(1),this.token(62,"`",t);throw G(h("unexpected character: %s",r),this.reader.getpos())}return"?"==e.p(5)?(e.seek_cur(6),this.token(34,"isnot?",t)):"#"==e.p(5)?(e.seek_cur(6),this.token(35,"isnot#",t)):(e.seek_cur(5),this.token(33,"isnot",t))}return"?"==e.p(2)?(e.seek_cur(3),this.token(31,"is?",t)):"#"==e.p(2)?(e.seek_cur(3),this.token(32,"is#",t)):(e.seek_cur(2),this.token(30,"is",t))}var n=e.getn(2);return n+=e.read_blob(),this.token(66,n,t)}var n=e.getn(3);return n+=e.read_bdigit(),this.token(52,n,t)}var n=e.getn(3);return n+=e.read_xdigit(),this.token(52,n,t)},I.prototype.get_sstring=function(){if(this.reader.skip_white(),"'"!=(t=this.reader.p(0)))throw G(h("unexpected character: %s",t),this.reader.getpos());this.reader.seek_cur(1);for(var e="";;){var t;if("<EOF>"==(t=this.reader.p(0))||"<EOL>"==t)throw G("unexpected EOL",this.reader.getpos());if("'"==t){if(this.reader.seek_cur(1),"'"!=this.reader.p(0))break;this.reader.seek_cur(1),e+="''"}else this.reader.seek_cur(1),e+=t}return e},I.prototype.get_dstring=function(){if(this.reader.skip_white(),'"'!=(t=this.reader.p(0)))throw G(h("unexpected character: %s",t),this.reader.getpos());this.reader.seek_cur(1);for(var e="";;){if("<EOF>"==(t=this.reader.p(0))||"<EOL>"==t)throw G("unexpectd EOL",this.reader.getpos());if('"'==t){this.reader.seek_cur(1);break}if("\\"==t){var t;if(this.reader.seek_cur(1),e+=t,"<EOF>"==(t=this.reader.p(0))||"<EOL>"==t)throw G("ExprTokenizer: unexpected EOL",this.reader.getpos());this.reader.seek_cur(1),e+=t}else this.reader.seek_cur(1),e+=t}return e},I.prototype.parse_dict_literal_key=function(){if(this.reader.skip_white(),!T(r=this.reader.peek())&&"_"!=r&&"-"!=r)throw G(h("unexpected character: %s",r),this.reader.getpos());var e=D(81),t=r;for(this.reader.seek_cur(1),e.pos=this.reader.getpos();;){var r;if("<EOF>"==(r=this.reader.p(0))||"<EOL>"==r)throw G("unexpectd EOL",this.reader.getpos());if(!T(r)&&"_"!=r&&"-"!=r)break;this.reader.seek_cur(1),t+=r}return e.value="'"+t+"'",e},F.prototype.__init__=function(e){this.reader=e,this.tokenizer=new I(e)},F.prototype.parse=function(){return this.parse_expr1()},F.prototype.parse_expr1=function(){var e=this.parse_expr2(),t=this.reader.tell();if(43==(r=this.tokenizer.get()).type){var r,n=D(34);if(n.pos=r.pos,n.cond=e,n.left=this.parse_expr1(),44!=(r=this.tokenizer.get()).type)throw G(h("unexpected token: %s",r.value),r.pos);n.right=this.parse_expr1();e=n}else this.reader.seek_set(t);return e},F.prototype.parse_expr2=function(){for(var e=this.parse_expr3();;){var t=this.reader.tell(),r=this.tokenizer.get();if(4!=r.type){this.reader.seek_set(t);break}var n=D(35);n.pos=r.pos,n.left=e,n.right=this.parse_expr3();e=n}return e},F.prototype.parse_expr3=function(){for(var e=this.parse_expr4();;){var t=this.reader.tell(),r=this.tokenizer.get();if(5!=r.type){this.reader.seek_set(t);break}var n=D(36);n.pos=r.pos,n.left=e,n.right=this.parse_expr4();e=n}return e},F.prototype.parse_expr4=function(){var e=this.parse_expr5(),t=this.reader.tell(),r=this.tokenizer.get();if(6==r.type){(n=D(37)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(7==r.type){(n=D(38)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(8==r.type){(n=D(39)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(9==r.type){(n=D(40)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(10==r.type){(n=D(41)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(11==r.type){(n=D(42)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(12==r.type){(n=D(43)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(13==r.type){(n=D(44)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(14==r.type){(n=D(45)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(15==r.type){(n=D(46)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(16==r.type){(n=D(47)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(17==r.type){(n=D(48)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(18==r.type){(n=D(49)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(19==r.type){(n=D(50)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(20==r.type){(n=D(51)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(21==r.type){(n=D(52)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(22==r.type){(n=D(53)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(23==r.type){(n=D(54)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(24==r.type){(n=D(55)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(25==r.type){(n=D(56)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(26==r.type){(n=D(57)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(27==r.type){(n=D(58)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(28==r.type){(n=D(59)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(29==r.type){(n=D(60)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(30==r.type){(n=D(61)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(31==r.type){(n=D(62)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(32==r.type){(n=D(63)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(33==r.type){(n=D(64)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(34==r.type){(n=D(65)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else if(35==r.type){var n;(n=D(66)).pos=r.pos,n.left=e,n.right=this.parse_expr5();e=n}else this.reader.seek_set(t);return e},F.prototype.parse_expr5=function(){for(var e=this.parse_expr6();;){var t=this.reader.tell(),r=this.tokenizer.get();if(36==r.type){(n=D(67)).pos=r.pos,n.left=e,n.right=this.parse_expr6();e=n}else if(37==r.type){(n=D(68)).pos=r.pos,n.left=e,n.right=this.parse_expr6();e=n}else if(68==r.type){(n=D(69)).pos=r.pos,n.left=e,n.right=this.parse_expr6();e=n}else{if(38!=r.type){this.reader.seek_set(t);break}var n;(n=D(69)).pos=r.pos,n.left=e,n.right=this.parse_expr6();e=n}}return e},F.prototype.parse_expr6=function(){for(var e=this.parse_expr7();;){var t=this.reader.tell(),r=this.tokenizer.get();if(39==r.type){(n=D(70)).pos=r.pos,n.left=e,n.right=this.parse_expr7();e=n}else if(40==r.type){(n=D(71)).pos=r.pos,n.left=e,n.right=this.parse_expr7();e=n}else{if(41!=r.type){this.reader.seek_set(t);break}var n;(n=D(72)).pos=r.pos,n.left=e,n.right=this.parse_expr7();e=n}}return e},F.prototype.parse_expr7=function(){var e,t=this.reader.tell(),r=this.tokenizer.get();return 42==r.type?((e=D(73)).pos=r.pos,e.left=this.parse_expr7(),e):37==r.type?((e=D(74)).pos=r.pos,e.left=this.parse_expr7(),e):36==r.type?((e=D(75)).pos=r.pos,e.left=this.parse_expr7(),e):(this.reader.seek_set(t),e=this.parse_expr8())},F.prototype.parse_expr8=function(){for(var e=this.parse_expr9();;){var t=this.reader.tell(),r=this.reader.peek(),n=this.tokenizer.get();if(w(r)||47!=n.type)if(65==n.type){var i=this.parse_expr9();if(45!=(n=this.tokenizer.get()).type)throw G("E107: Missing parentheses: lambda",n.pos);(o=D(78)).pos=n.pos,o.left=i,o.rlist=this.parse_rlist(),(a=D(97)).pos=n.pos,a.left=e,a.right=o;e=a;delete a}else if(45==n.type){(a=D(78)).pos=n.pos,a.left=e,a.rlist=this.parse_rlist();e=a;delete a}else{if(w(r)||38!=n.type){this.reader.seek_set(t);break}if((a=this.parse_dot(n,e))===A){this.reader.seek_set(t);break}e=a;delete a}else{var s=n.pos;if(44==this.tokenizer.peek().type){if(this.tokenizer.get(),(a=D(77)).pos=s,a.left=e,a.rlist=[A,A],48!=(n=this.tokenizer.peek()).type&&(a.rlist[1]=this.parse_expr1()),48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos);var e=a}else{var o=this.parse_expr1();if(44==this.tokenizer.peek().type){if(this.tokenizer.get(),(a=D(77)).pos=s,a.left=e,a.rlist=[o,A],48!=(n=this.tokenizer.peek()).type&&(a.rlist[1]=this.parse_expr1()),48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos);var e=a}else{var a;if((a=D(76)).pos=s,a.left=e,a.right=o,48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos);var e=a}}delete a}}return e},F.prototype.parse_rlist=function(){var e=[],t=this.tokenizer.peek();if(46==this.tokenizer.peek().type)this.tokenizer.get();else for(;;){if(s(e,this.parse_expr1()),51!=(t=this.tokenizer.get()).type){if(46==t.type)break;throw G(h("unexpected token: %s",t.value),t.pos)}if(46==this.tokenizer.peek().type){this.tokenizer.get();break}}if(m(e)>20)throw G("E740: Too many arguments for function",t.pos);return e},F.prototype.parse_expr9=function(){var e=this.reader.tell(),t=this.tokenizer.get(),r=D(-1);if(52==t.type)(r=D(80)).pos=t.pos,r.value=t.value;else if(66==t.type){(r=D(93)).pos=t.pos,r.value=t.value}else if(54==t.type){this.reader.seek_set(e),(r=D(81)).pos=t.pos,r.value='"'+this.tokenizer.get_dstring()+'"'}else if(53==t.type){this.reader.seek_set(e),(r=D(81)).pos=t.pos,r.value="'"+this.tokenizer.get_sstring()+"'"}else if(47==t.type){if((r=D(82)).pos=t.pos,r.value=[],48==(t=this.tokenizer.peek()).type)this.tokenizer.get();else for(;;){if(s(r.value,this.parse_expr1()),51!=(t=this.tokenizer.peek()).type){if(48==t.type){this.tokenizer.get();break}throw G(h("unexpected token: %s",t.value),t.pos)}if(this.tokenizer.get(),48==this.tokenizer.peek().type){this.tokenizer.get();break}}}else{if(49==t.type||67==t.type){var n=67==t.type,i=this.reader.tell(),o=t.pos;if(!(p=65==(t=this.tokenizer.get()).type)&&53!=t.type&&54!=t.type)var u=this.tokenizer.peek(),p=65==u.type||51==u.type;var l=E;if(p){(r=D(92)).pos=o,r.rlist=[];for(var f={};65!=t.type;){if(56!=t.type){if(63==t.type){if((m=D(86)).pos=t.pos,m.value=t.value,s(r.rlist,m),65==(t=this.tokenizer.peek()).type){this.tokenizer.get();break}throw G(h("unexpected token: %s",t.value),t.pos)}l=1;break}if(!S(t.value))throw G(h("E125: Illegal argument: %s",t.value),t.pos);if(b(f,t.value))throw G(h("E853: Duplicate argument name: %s",t.value),t.pos);var m;if(f[t.value]=1,(m=D(86)).pos=t.pos,m.value=t.value,w(this.reader.p(0))&&51==this.tokenizer.peek().type)throw G("E475: Invalid argument: White space is not allowed before comma",this.reader.getpos());var t=this.tokenizer.get();if(s(r.rlist,m),51!=t.type){if(65==t.type)break;throw G(h("unexpected token: %s, type: %d",t.value,t.type),t.pos)}if(65==(t=this.tokenizer.peek()).type){this.tokenizer.get();break}t=this.tokenizer.get()}if(!l){if(r.left=this.parse_expr1(),50!=(t=this.tokenizer.get()).type)throw G(h("unexpected token: %s",t.value),t.pos);return r}}if((r=D(83)).pos=o,r.value=[],this.reader.seek_set(i),50==(t=this.tokenizer.peek()).type)return this.tokenizer.get(),r;for(;;){var d=n?this.tokenizer.parse_dict_literal_key():this.parse_expr1();if(50==(t=this.tokenizer.get()).type){if(!a(r.value))throw G(h("unexpected token: %s",t.value),t.pos);this.reader.seek_set(e);r=this.parse_identifier();break}if(44!=t.type)throw G(h("unexpected token: %s",t.value),t.pos);var _=this.parse_expr1();if(s(r.value,[d,_]),51!=(t=this.tokenizer.get()).type){if(50==t.type)break;throw G(h("unexpected token: %s",t.value),t.pos)}if(50==this.tokenizer.peek().type){this.tokenizer.get();break}}return r}if(45==t.type){r=this.parse_expr1();if(46!=(t=this.tokenizer.get()).type)throw G(h("unexpected token: %s",t.value),t.pos)}else if(55==t.type){(r=D(85)).pos=t.pos,r.value=t.value}else if(56==t.type){this.reader.seek_set(e);r=this.parse_identifier()}else if(!E||44!=t.type&&64!=t.type)if(18==t.type&&c(this.reader.peekn(4),"SID>")){this.reader.seek_set(e);r=this.parse_identifier()}else if(30==t.type||32==t.type||33==t.type||35==t.type){this.reader.seek_set(e);r=this.parse_identifier()}else if(57==t.type){(r=D(88)).pos=t.pos,r.value=t.value}else{if(58!=t.type)throw G(h("unexpected token: %s",t.value),t.pos);(r=D(89)).pos=t.pos,r.value=t.value}else{this.reader.seek_set(e);var r=this.parse_identifier()}}return r},F.prototype.parse_dot=function(e,t){if(86!=t.type&&87!=t.type&&83!=t.type&&76!=t.type&&78!=t.type&&79!=t.type)return A;if(!N(this.reader.p(0)))return A;var r=this.reader.getpos(),n=this.reader.read_word();if(C(this.reader.p(0)))return A;var i=D(79);return i.pos=e.pos,i.left=t,i.right=D(86),i.right.pos=r,i.right.value=n,i},F.prototype.parse_concat=function(e,t){if(86!=t.type&&87!=t.type&&83!=t.type&&76!=t.type&&78!=t.type&&79!=t.type)return A;if(!N(this.reader.p(0)))return A;var r=this.reader.getpos(),n=this.reader.read_word();if(C(this.reader.p(0)))return A;var i=D(69);return i.pos=e.pos,i.left=t,i.right=D(86),i.right.pos=r,i.right.value=n,i},F.prototype.parse_identifier=function(){this.reader.skip_white();var e,t=this.reader.getpos(),r=this.parse_curly_parts();return 1==m(r)&&90==r[0].type?((e=D(86)).pos=t,e.value=r[0].value,e):((e=D(87)).pos=t,e.value=r,e)},F.prototype.parse_curly_parts=function(){var e=[],t=this.reader.peek(),r=this.reader.getpos();if("<"==t&&c(this.reader.peekn(5),"<SID>")){var n=this.reader.getn(5);(i=D(90)).curly=E,i.pos=r,i.value=n,s(e,i)}for(;;){if(C(t=this.reader.peek())){r=this.reader.getpos(),n=this.reader.read_name();(i=D(90)).curly=E,i.pos=r,i.value=n,s(e,i)}else{if("{"!=t)break;this.reader.get();var i;r=this.reader.getpos();if((i=D(91)).curly=1,i.pos=r,i.value=this.parse_expr1(),s(e,i),this.reader.skip_white(),"}"!=(t=this.reader.p(0)))throw G(h("unexpected token: %s",t),this.reader.getpos());this.reader.seek_cur(1)}}return e},B.prototype=Object.create(F.prototype),B.prototype.parse=function(){return this.parse_lv8()},B.prototype.parse_lv8=function(){for(var e=this.parse_lv9();;){var t=this.reader.tell(),r=this.reader.peek(),n=this.tokenizer.get();if(w(r)||47!=n.type){if(w(r)||38!=n.type){this.reader.seek_set(t);break}if((s=this.parse_dot(n,e))===A){this.reader.seek_set(t);break}e=s;delete s}else{var i=n.pos,s=D(-1);if(44==this.tokenizer.peek().type){if(this.tokenizer.get(),(s=D(77)).pos=i,s.left=e,s.rlist=[A,A],48!=(n=this.tokenizer.peek()).type&&(s.rlist[1]=this.parse_expr1()),48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos)}else{var o=this.parse_expr1();if(44==this.tokenizer.peek().type){if(this.tokenizer.get(),(s=D(77)).pos=i,s.left=e,s.rlist=[o,A],48!=(n=this.tokenizer.peek()).type&&(s.rlist[1]=this.parse_expr1()),48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos)}else if((s=D(76)).pos=i,s.left=e,s.right=o,48!=(n=this.tokenizer.get()).type)throw G(h("unexpected token: %s",n.value),n.pos)}var e=s;delete s}}return e},B.prototype.parse_lv9=function(){var e=this.reader.tell(),t=this.tokenizer.get(),r=D(-1);if(49==t.type){this.reader.seek_set(e);r=this.parse_identifier()}else if(55==t.type){(r=D(85)).pos=t.pos,r.value=t.value}else if(56==t.type){this.reader.seek_set(e);r=this.parse_identifier()}else if(18==t.type&&c(this.reader.peekn(4),"SID>")){this.reader.seek_set(e);r=this.parse_identifier()}else if(57==t.type){(r=D(88)).pos=t.pos,r.value=t.value}else{if(58!=t.type)throw G(h("unexpected token: %s",t.value),t.pos);(r=D(89)).pos=t.pos,r.pos=t.pos,r.value=t.value}return r},P.prototype.__init__=function(e){this.buf=[],this.pos=[];for(var t=0,r=0;t<m(e);){for(var n=0,i=g(e[t],"\\zs"),o=0;o<i.length;++o){var a=i[o];s(this.buf,a),s(this.pos,[t+1,n+1,r]),n+=m(a),r+=m(a)}for(;t+1<m(e)&&u(e[t+1],"^\\s*\\\\");){for(var c=1,p=(n=0,g(e[t+1],"\\zs")),l=0;l<p.length;++l){a=p[l];if(c){if("\\"==a)c=E}else s(this.buf,a),s(this.pos,[t+2,n+1,r]);n+=m(a),r+=m(a)}t+=1,r+=1}s(this.buf,"<EOL>"),s(this.pos,[t+1,n+1,r]),t+=1,r+=1}s(this.pos,[t+1,0,r]),this.i=0},P.prototype.eof=function(){return this.i>=m(this.buf)},P.prototype.tell=function(){return this.i},P.prototype.seek_set=function(e){this.i=e},P.prototype.seek_cur=function(e){this.i=this.i+e},P.prototype.seek_end=function(e){this.i=m(this.buf)+e},P.prototype.p=function(e){return this.i>=m(this.buf)?"<EOF>":this.buf[this.i+e]},P.prototype.peek=function(){return this.i>=m(this.buf)?"<EOF>":this.buf[this.i]},P.prototype.get=function(){return this.i>=m(this.buf)?"<EOF>":(this.i+=1,this.buf[this.i-1])},P.prototype.peekn=function(e){var t=this.tell(),r=this.getn(e);return this.seek_set(t),r},P.prototype.getn=function(e){for(var t="",r=0;this.i<m(this.buf)&&(e<0||r<e);){var n=this.buf[this.i];if("<EOL>"==n)break;t+=n,this.i+=1,r+=1}return t},P.prototype.peekline=function(){return this.peekn(-1)},P.prototype.readline=function(){var e=this.getn(-1);return this.get(),e},P.prototype.getstr=function(e,t){for(var r="",n=d(e.i,t.i-1),i=0;i<n.length;++i){var s=n[i];if(s>=m(this.buf))break;if("<EOL>"==(o=this.buf[s]))var o="\n";r+=o}return r},P.prototype.getpos=function(){var e=this.pos[this.i],t=e[0],r=e[1],n=e[2];return{i:this.i,lnum:t,col:r,offset:n}},P.prototype.setpos=function(e){this.i=e.i},P.prototype.read_alpha=function(){for(var e="";u(this.peekn(1),"^[A-Za-z]$");)e+=this.getn(1);return e},P.prototype.read_alnum=function(){for(var e="";T(this.peekn(1));)e+=this.getn(1);return e},P.prototype.read_digit=function(){for(var e="";x(this.peekn(1));)e+=this.getn(1);return e},P.prototype.read_odigit=function(){for(var e="";u(this.peekn(1),"^[0-7]$");)e+=this.getn(1);return e},P.prototype.read_blob=function(){for(var e="";;){var t=this.peekn(2);if(u(t,"^[0-9A-Fa-f][0-9A-Fa-f]$"))e+=this.getn(2);else{if(!u(t,"^\\.[0-9A-Fa-f]$")){if(u(t,"^[0-9A-Fa-f][^0-9A-Fa-f]$"))throw G("E973: Blob literal should have an even number of hex characters:"+t,this.getpos());break}e+=this.getn(1)}}return e},P.prototype.read_xdigit=function(){for(var e="";O(this.peekn(1));)e+=this.getn(1);return e},P.prototype.read_bdigit=function(){for(var e="";"0"==this.peekn(1)||"1"==this.peekn(1);)e+=this.getn(1);return e},P.prototype.read_integer=function(){var e="",t=this.peekn(1);if("-"==t||"+"==t)e=this.getn(1);return e+this.read_digit()},P.prototype.read_word=function(){for(var e="";N(this.peekn(1));)e+=this.getn(1);return e},P.prototype.read_white=function(){for(var e="";w(this.peekn(1));)e+=this.getn(1);return e},P.prototype.read_nonwhite=function(){for(var e="",t=this.peekn(1);!w(t)&&""!=t;){e+=this.getn(1);t=this.peekn(1)}return e},P.prototype.read_name=function(){for(var e="";C(this.peekn(1));)e+=this.getn(1);return e},P.prototype.skip_white=function(){for(;w(this.peekn(1));)this.seek_cur(1)},P.prototype.skip_white_and_colon=function(){for(;;){var e=this.peekn(1);if(!w(e)&&":"!=e)break;this.seek_cur(1)}},W.prototype.__init__=function(){this.indent=[""],this.lines=[]},W.prototype.out=function(){var e=Array.prototype.slice.call(arguments,0);1==m(e)?")"==e[0][0]?this.lines[this.lines.length-1]+=e[0]:s(this.lines,this.indent[0]+e[0]):s(this.lines,this.indent[0]+h.apply(null,e))},W.prototype.incindent=function(e){l(this.indent,this.indent[0]+e)},W.prototype.decindent=function(){_(this.indent,0)},W.prototype.compile=function(e){if(1==e.type)return this.compile_toplevel(e);if(2==e.type)return this.compile_comment(e),A;if(3==e.type)return this.compile_excmd(e),A;if(4==e.type)return this.compile_function(e),A;if(6==e.type)return this.compile_delfunction(e),A;if(7==e.type)return this.compile_return(e),A;if(8==e.type)return this.compile_excall(e),A;if(95==e.type)return this.compile_eval(e),A;if(9==e.type)return this.compile_let(e),A;if(94==e.type)return this.compile_const(e),A;if(10==e.type)return this.compile_unlet(e),A;if(11==e.type)return this.compile_lockvar(e),A;if(12==e.type)return this.compile_unlockvar(e),A;if(13==e.type)return this.compile_if(e),A;if(17==e.type)return this.compile_while(e),A;if(19==e.type)return this.compile_for(e),A;if(21==e.type)return this.compile_continue(e),A;if(22==e.type)return this.compile_break(e),A;if(23==e.type)return this.compile_try(e),A;if(27==e.type)return this.compile_throw(e),A;if(28==e.type)return this.compile_echo(e),A;if(29==e.type)return this.compile_echon(e),A;if(30==e.type)return this.compile_echohl(e),A;if(31==e.type)return this.compile_echomsg(e),A;if(32==e.type)return this.compile_echoerr(e),A;if(33==e.type)return this.compile_execute(e),A;if(34==e.type)return this.compile_ternary(e);if(35==e.type)return this.compile_or(e);if(36==e.type)return this.compile_and(e);if(37==e.type)return this.compile_equal(e);if(38==e.type)return this.compile_equalci(e);if(39==e.type)return this.compile_equalcs(e);if(40==e.type)return this.compile_nequal(e);if(41==e.type)return this.compile_nequalci(e);if(42==e.type)return this.compile_nequalcs(e);if(43==e.type)return this.compile_greater(e);if(44==e.type)return this.compile_greaterci(e);if(45==e.type)return this.compile_greatercs(e);if(46==e.type)return this.compile_gequal(e);if(47==e.type)return this.compile_gequalci(e);if(48==e.type)return this.compile_gequalcs(e);if(49==e.type)return this.compile_smaller(e);if(50==e.type)return this.compile_smallerci(e);if(51==e.type)return this.compile_smallercs(e);if(52==e.type)return this.compile_sequal(e);if(53==e.type)return this.compile_sequalci(e);if(54==e.type)return this.compile_sequalcs(e);if(55==e.type)return this.compile_match(e);if(56==e.type)return this.compile_matchci(e);if(57==e.type)return this.compile_matchcs(e);if(58==e.type)return this.compile_nomatch(e);if(59==e.type)return this.compile_nomatchci(e);if(60==e.type)return this.compile_nomatchcs(e);if(61==e.type)return this.compile_is(e);if(62==e.type)return this.compile_isci(e);if(63==e.type)return this.compile_iscs(e);if(64==e.type)return this.compile_isnot(e);if(65==e.type)return this.compile_isnotci(e);if(66==e.type)return this.compile_isnotcs(e);if(67==e.type)return this.compile_add(e);if(68==e.type)return this.compile_subtract(e);if(69==e.type)return this.compile_concat(e);if(70==e.type)return this.compile_multiply(e);if(71==e.type)return this.compile_divide(e);if(72==e.type)return this.compile_remainder(e);if(73==e.type)return this.compile_not(e);if(75==e.type)return this.compile_plus(e);if(74==e.type)return this.compile_minus(e);if(76==e.type)return this.compile_subscript(e);if(77==e.type)return this.compile_slice(e);if(79==e.type)return this.compile_dot(e);if(97==e.type)return this.compile_method(e);if(78==e.type)return this.compile_call(e);if(80==e.type)return this.compile_number(e);if(93==e.type)return this.compile_blob(e);if(81==e.type)return this.compile_string(e);if(82==e.type)return this.compile_list(e);if(83==e.type)return this.compile_dict(e);if(85==e.type)return this.compile_option(e);if(86==e.type)return this.compile_identifier(e);if(87==e.type)return this.compile_curlyname(e);if(88==e.type)return this.compile_env(e);if(89==e.type)return this.compile_reg(e);if(90==e.type)return this.compile_curlynamepart(e);if(91==e.type)return this.compile_curlynameexpr(e);if(92==e.type)return this.compile_lambda(e);if(96==e.type)return this.compile_heredoc(e);throw h("Compiler: unknown node: %s",R(e))},W.prototype.compile_body=function(e){for(var t=e,r=0;r<t.length;++r){var n=t[r];this.compile(n)}},W.prototype.compile_toplevel=function(e){return this.compile_body(e.body),this.lines},W.prototype.compile_comment=function(e){this.out(";%s",e.str)},W.prototype.compile_excmd=function(e){this.out('(excmd "%s")',p(e.str,'\\"'))},W.prototype.compile_function=function(e){var t=this.compile(e.left),r=e.rlist.map(function(e){return this.compile(e)}.bind(this)),n=e.default_args.map(function(e){return this.compile(e)}.bind(this));if(!a(r)){var i=E;if("..."==r[r.length-1]){_(r,-1);i=1}for(var s=d(m(r)),o=0;o<s.length;++o){var c=s[o];c<m(r)-m(n)?t+=h(" %s",r[c]):t+=h(" (%s %s)",r[c],n[c+m(n)-m(r)])}i&&(t+=" . ...")}this.out("(function (%s)",t),this.incindent(" "),this.compile_body(e.body),this.out(")"),this.decindent()},W.prototype.compile_delfunction=function(e){this.out("(delfunction %s)",this.compile(e.left))},W.prototype.compile_return=function(e){e.left===A?this.out("(return)"):this.out("(return %s)",this.compile(e.left))},W.prototype.compile_excall=function(e){this.out("(call %s)",this.compile(e.left))},W.prototype.compile_eval=function(e){this.out("(eval %s)",this.compile(e.left))},W.prototype.compile_let=function(e){var t="";if(e.left!==A)t=this.compile(e.left);else{t=f(e.list.map(function(e){return this.compile(e)}.bind(this))," ");e.rest!==A&&(t+=" . "+this.compile(e.rest));t="("+t+")"}var r=this.compile(e.right);this.out("(let %s %s %s)",e.op,t,r)},W.prototype.compile_const=function(e){var t="";if(e.left!==A)t=this.compile(e.left);else{t=f(e.list.map(function(e){return this.compile(e)}.bind(this))," ");e.rest!==A&&(t+=" . "+this.compile(e.rest));t="("+t+")"}var r=this.compile(e.right);this.out("(const %s %s %s)",e.op,t,r)},W.prototype.compile_unlet=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(unlet %s)",f(t," "))},W.prototype.compile_lockvar=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));e.depth===A?this.out("(lockvar %s)",f(t," ")):this.out("(lockvar %s %s)",e.depth,f(t," "))},W.prototype.compile_unlockvar=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));e.depth===A?this.out("(unlockvar %s)",f(t," ")):this.out("(unlockvar %s %s)",e.depth,f(t," "))},W.prototype.compile_if=function(e){this.out("(if %s",this.compile(e.cond)),this.incindent(" "),this.compile_body(e.body),this.decindent();for(var t=e.elseif,r=0;r<t.length;++r){var n=t[r];this.out(" elseif %s",this.compile(n.cond)),this.incindent(" "),this.compile_body(n.body),this.decindent()}e._else!==A&&(this.out(" else"),this.incindent(" "),this.compile_body(e._else.body),this.decindent()),this.incindent(" "),this.out(")"),this.decindent()},W.prototype.compile_while=function(e){this.out("(while %s",this.compile(e.cond)),this.incindent(" "),this.compile_body(e.body),this.out(")"),this.decindent()},W.prototype.compile_for=function(e){var t="";if(e.left!==A)t=this.compile(e.left);else{t=f(e.list.map(function(e){return this.compile(e)}.bind(this))," ");e.rest!==A&&(t+=" . "+this.compile(e.rest));t="("+t+")"}var r=this.compile(e.right);this.out("(for %s %s",t,r),this.incindent(" "),this.compile_body(e.body),this.out(")"),this.decindent()},W.prototype.compile_continue=function(e){this.out("(continue)")},W.prototype.compile_break=function(e){this.out("(break)")},W.prototype.compile_try=function(e){this.out("(try"),this.incindent(" "),this.compile_body(e.body);for(var t=e.catch,r=0;r<t.length;++r){var n=t[r];n.pattern!==A?(this.decindent(),this.out(" catch /%s/",n.pattern),this.incindent(" "),this.compile_body(n.body)):(this.decindent(),this.out(" catch"),this.incindent(" "),this.compile_body(n.body))}e._finally!==A&&(this.decindent(),this.out(" finally"),this.incindent(" "),this.compile_body(e._finally.body)),this.out(")"),this.decindent()},W.prototype.compile_throw=function(e){this.out("(throw %s)",this.compile(e.left))},W.prototype.compile_echo=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(echo %s)",f(t," "))},W.prototype.compile_echon=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(echon %s)",f(t," "))},W.prototype.compile_echohl=function(e){this.out('(echohl "%s")',p(e.str,'\\"'))},W.prototype.compile_echomsg=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(echomsg %s)",f(t," "))},W.prototype.compile_echoerr=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(echoerr %s)",f(t," "))},W.prototype.compile_execute=function(e){var t=e.list.map(function(e){return this.compile(e)}.bind(this));this.out("(execute %s)",f(t," "))},W.prototype.compile_ternary=function(e){return h("(?: %s %s %s)",this.compile(e.cond),this.compile(e.left),this.compile(e.right))},W.prototype.compile_or=function(e){return h("(|| %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_and=function(e){return h("(&& %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_equal=function(e){return h("(== %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_equalci=function(e){return h("(==? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_equalcs=function(e){return h("(==# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nequal=function(e){return h("(!= %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nequalci=function(e){return h("(!=? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nequalcs=function(e){return h("(!=# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_greater=function(e){return h("(> %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_greaterci=function(e){return h("(>? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_greatercs=function(e){return h("(># %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_gequal=function(e){return h("(>= %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_gequalci=function(e){return h("(>=? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_gequalcs=function(e){return h("(>=# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_smaller=function(e){return h("(< %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_smallerci=function(e){return h("(<? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_smallercs=function(e){return h("(<# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_sequal=function(e){return h("(<= %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_sequalci=function(e){return h("(<=? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_sequalcs=function(e){return h("(<=# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_match=function(e){return h("(=~ %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_matchci=function(e){return h("(=~? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_matchcs=function(e){return h("(=~# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nomatch=function(e){return h("(!~ %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nomatchci=function(e){return h("(!~? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_nomatchcs=function(e){return h("(!~# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_is=function(e){return h("(is %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_isci=function(e){return h("(is? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_iscs=function(e){return h("(is# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_isnot=function(e){return h("(isnot %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_isnotci=function(e){return h("(isnot? %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_isnotcs=function(e){return h("(isnot# %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_add=function(e){return h("(+ %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_subtract=function(e){return h("(- %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_concat=function(e){return h("(concat %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_multiply=function(e){return h("(* %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_divide=function(e){return h("(/ %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_remainder=function(e){return h("(%% %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_not=function(e){return h("(! %s)",this.compile(e.left))},W.prototype.compile_plus=function(e){return h("(+ %s)",this.compile(e.left))},W.prototype.compile_minus=function(e){return h("(- %s)",this.compile(e.left))},W.prototype.compile_subscript=function(e){return h("(subscript %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_slice=function(e){var t=e.rlist[0]===A?"nil":this.compile(e.rlist[0]),r=e.rlist[1]===A?"nil":this.compile(e.rlist[1]);return h("(slice %s %s %s)",this.compile(e.left),t,r)},W.prototype.compile_dot=function(e){return h("(dot %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_method=function(e){return h("(method %s %s)",this.compile(e.left),this.compile(e.right))},W.prototype.compile_call=function(e){var t=e.rlist.map(function(e){return this.compile(e)}.bind(this));return a(t)?h("(%s)",this.compile(e.left)):h("(%s %s)",this.compile(e.left),f(t," "))},W.prototype.compile_number=function(e){return e.value},W.prototype.compile_blob=function(e){return e.value},W.prototype.compile_string=function(e){return e.value},W.prototype.compile_list=function(e){var t=e.value.map(function(e){return this.compile(e)}.bind(this));return a(t)?"(list)":h("(list %s)",f(t," "))},W.prototype.compile_dict=function(e){var t=e.value.map(function(e){return"("+this.compile(e[0])+" "+this.compile(e[1])+")"}.bind(this));return a(t)?"(dict)":h("(dict %s)",f(t," "))},W.prototype.compile_option=function(e){return e.value},W.prototype.compile_identifier=function(e){return e.value},W.prototype.compile_curlyname=function(e){return f(e.value.map(function(e){return this.compile(e)}.bind(this)),"")},W.prototype.compile_env=function(e){return e.value},W.prototype.compile_reg=function(e){return e.value},W.prototype.compile_curlynamepart=function(e){return e.value},W.prototype.compile_curlynameexpr=function(e){return"{"+this.compile(e.value)+"}"},W.prototype.escape_string=function(e){for(var t={"\n":"\\n","\t":"\\t","\r":"\\r"},r='"',n=d(m(e)),i=0;i<n.length;++i){var s=e[n[i]];b(t,s)?r+=t[s]:r+=s}return r+='"'},W.prototype.compile_lambda=function(e){return h("(lambda (%s) %s)",f(e.rlist.map(function(e){return this.compile(e)}.bind(this))," "),this.compile(e.left))},W.prototype.compile_heredoc=function(e){if(a(e.rlist))var t="(list)";else t="(list "+f(e.rlist.map(function(e){return this.escape_string(e)}.bind(this))," ")+")";if(a(e.body))var r="(list)";else r="(list "+f(e.body.map(function(e){return this.escape_string(e)}.bind(this))," ")+")";return h("(heredoc %s %s %s)",t,this.escape_string(e.op),r)},j.prototype.RE_VERY_NOMAGIC=1,j.prototype.RE_NOMAGIC=2,j.prototype.RE_MAGIC=3,j.prototype.RE_VERY_MAGIC=4,j.prototype.__init__=function(e,t,r){this.reader=e,this.cmd=t,this.delim=r,this.reg_magic=this.RE_MAGIC},j.prototype.isend=function(e){return"<EOF>"==e||"<EOL>"==e||e==this.delim},j.prototype.parse_regexp=function(){var e="",t="",r=[];if("\\%#="==this.reader.peekn(4)){var n=this.reader.getpos();if("\\%#=0"!=(i=this.reader.getn(5))&&"\\%#=1"!=i&&"\\%#=2"!=i)throw G("E864: \\%#= can only be followed by 0, 1, or 2",n);s(r,i)}for(;!this.isend(this.reader.peek());){e=t;var i=(a=this.get_token())[0];if("\\m"==(t=a[1]))this.reg_magic=this.RE_MAGIC;else if("\\M"==t)this.reg_magic=this.RE_NOMAGIC;else if("\\v"==t)this.reg_magic=this.RE_VERY_MAGIC;else if("\\V"==t)this.reg_magic=this.RE_VERY_NOMAGIC;else if("\\*"==t){if(""==e||"\\^"==e||"\\&"==e||"\\|"==e||"\\("==e)t="*"}else if("\\^"==t){if(this.reg_magic!=this.RE_VERY_MAGIC&&""!=e&&"\\&"!=e&&"\\|"!=e&&"\\n"!=e&&"\\("!=e&&"\\%("!=e)t="^"}else if("\\$"==t){var o=this.reader.tell();if(this.reg_magic!=this.RE_VERY_MAGIC)for(;!this.isend(this.reader.peek());){(a=this.get_token())[0];var a,c=a[1];if("\\c"!=c&&"\\C"!=c&&"\\m"!=c&&"\\M"!=c&&"\\Z"!=c){if("\\|"!=c&&"\\&"!=c&&"\\n"!=c&&"\\)"!=c)t="$";break}}this.reader.seek_set(o)}else if("\\?"==t&&"?"==this.cmd)t="?";s(r,t)}return r},j.prototype.get_token=function(){return this.reg_magic==this.RE_VERY_MAGIC?this.get_token_very_magic():this.reg_magic==this.RE_MAGIC?this.get_token_magic():this.reg_magic==this.RE_NOMAGIC?this.get_token_nomagic():this.reg_magic==this.RE_VERY_NOMAGIC?this.get_token_very_nomagic():void 0},j.prototype.get_token_very_magic=function(){if(this.isend(this.reader.peek()))return["<END>","<END>"];var e=this.reader.get();return"\\"==e?this.get_token_backslash_common():"*"==e?["*","\\*"]:"+"==e?["+","\\+"]:"="==e?["=","\\="]:"?"==e?["?","\\?"]:"{"==e?this.get_token_brace("{"):"@"==e?this.get_token_at("@"):"^"==e?["^","\\^"]:"$"==e?["$","\\$"]:"."==e?[".","\\."]:"<"==e?["<","\\<"]:">"==e?[">","\\>"]:"%"==e?this.get_token_percent("%"):"["==e?this.get_token_sq("["):"~"==e?["~","\\~"]:"|"==e?["|","\\|"]:"&"==e?["&","\\&"]:"("==e?["(","\\("]:")"==e?[")","\\)"]:[e,e]},j.prototype.get_token_magic=function(){if(this.isend(this.reader.peek()))return["<END>","<END>"];if("\\"==(e=this.reader.get())){var e,t=this.reader.tell();return"+"==(e=this.reader.get())?["\\+","\\+"]:"="==e?["\\=","\\="]:"?"==e?["\\?","\\?"]:"{"==e?this.get_token_brace("\\{"):"@"==e?this.get_token_at("\\@"):"<"==e?["\\<","\\<"]:">"==e?["\\>","\\>"]:"%"==e?this.get_token_percent("\\%"):"|"==e?["\\|","\\|"]:"&"==e?["\\&","\\&"]:"("==e?["\\(","\\("]:")"==e?["\\)","\\)"]:(this.reader.seek_set(t),this.get_token_backslash_common())}return"*"==e?["*","\\*"]:"^"==e?["^","\\^"]:"$"==e?["$","\\$"]:"."==e?[".","\\."]:"["==e?this.get_token_sq("["):"~"==e?["~","\\~"]:[e,e]},j.prototype.get_token_nomagic=function(){if(this.isend(this.reader.peek()))return["<END>","<END>"];if("\\"==(e=this.reader.get())){var e,t=this.reader.tell();return"*"==(e=this.reader.get())?["\\*","\\*"]:"+"==e?["\\+","\\+"]:"="==e?["\\=","\\="]:"?"==e?["\\?","\\?"]:"{"==e?this.get_token_brace("\\{"):"@"==e?this.get_token_at("\\@"):"."==e?["\\.","\\."]:"<"==e?["\\<","\\<"]:">"==e?["\\>","\\>"]:"%"==e?this.get_token_percent("\\%"):"~"==e?["\\~","\\^"]:"["==e?this.get_token_sq("\\["):"|"==e?["\\|","\\|"]:"&"==e?["\\&","\\&"]:"("==e?["\\(","\\("]:")"==e?["\\)","\\)"]:(this.reader.seek_set(t),this.get_token_backslash_common())}return"^"==e?["^","\\^"]:"$"==e?["$","\\$"]:[e,e]},j.prototype.get_token_very_nomagic=function(){if(this.isend(this.reader.peek()))return["<END>","<END>"];if("\\"==(e=this.reader.get())){var e,t=this.reader.tell();return"*"==(e=this.reader.get())?["\\*","\\*"]:"+"==e?["\\+","\\+"]:"="==e?["\\=","\\="]:"?"==e?["\\?","\\?"]:"{"==e?this.get_token_brace("\\{"):"@"==e?this.get_token_at("\\@"):"^"==e?["\\^","\\^"]:"$"==e?["\\$","\\$"]:"<"==e?["\\<","\\<"]:">"==e?["\\>","\\>"]:"%"==e?this.get_token_percent("\\%"):"~"==e?["\\~","\\~"]:"["==e?this.get_token_sq("\\["):"|"==e?["\\|","\\|"]:"&"==e?["\\&","\\&"]:"("==e?["\\(","\\("]:")"==e?["\\)","\\)"]:(this.reader.seek_set(t),this.get_token_backslash_common())}return[e,e]},j.prototype.get_token_backslash_common=function(){var e="iIkKfFpPsSdDxXoOwWhHaAlLuU";if("\\"==(r=this.reader.get()))return["\\\\","\\\\"];if(-1!=v(e,r))return["\\"+r,"\\"+r];if("_"==r){var t=this.reader.getpos();if(-1!=v(e,r=this.reader.get()))return["\\_"+r,"\\_ . c"];if("^"==r)return["\\_^","\\_^"];if("$"==r)return["\\_$","\\_$"];if("."==r)return["\\_.","\\_."];if("["==r)return this.get_token_sq("\\_[");throw G("E63: invalid use of \\_",t)}if(-1!=v("etrb",r))return["\\"+r,"\\"+r];if(-1!=v("123456789",r))return["\\"+r,"\\"+r];if("z"==r){t=this.reader.getpos();if(-1!=v("123456789",r=this.reader.get()))return["\\z"+r,"\\z"+r];if("s"==r)return["\\zs","\\zs"];if("e"==r)return["\\ze","\\ze"];if("("==r)return["\\z(","\\z("];throw G("E68: Invalid character after \\z",t)}if(-1!=v("cCmMvVZ",r))return["\\"+r,"\\"+r];if("%"==r){var r;t=this.reader.getpos();if("d"==(r=this.reader.get())){if(""!=(n=this.getdecchrs()))return["\\%d"+n,"\\%d"+n]}else if("o"==r){if(""!=(n=this.getoctchrs()))return["\\%o"+n,"\\%o"+n]}else if("x"==r){if(""!=(n=this.gethexchrs(2)))return["\\%x"+n,"\\%x"+n]}else if("u"==r){if(""!=(n=this.gethexchrs(4)))return["\\%u"+n,"\\%u"+n]}else if("U"==r){var n;if(""!=(n=this.gethexchrs(8)))return["\\%U"+n,"\\%U"+n]}throw G("E678: Invalid character after \\%[dxouU]",t)}return["\\"+r,r]},j.prototype.get_token_brace=function(e){var t="",r="",n="",i="",s="";"-"==this.reader.p(0)&&(t+=r=this.reader.get());x(this.reader.p(0))&&(t+=i=this.reader.read_digit());","==this.reader.p(0)&&(t+=n=this.rader.get());x(this.reader.p(0))&&(t+=s=this.reader.read_digit());if("\\"==this.reader.p(0)&&(t+=this.reader.get()),"}"!=this.reader.p(0))throw G("E554: Syntax error in \\{...}",this.reader.getpos());return this.reader.get(),[e+t,"\\{"+r+i+n+s+"}"]},j.prototype.get_token_sq=function(e){var t=this.reader.tell(),r="";for("^"==this.reader.p(0)&&(r+=this.reader.get()),"]"!=this.reader.p(0)&&"-"!=this.reader.p(0)||(r+=this.reader.get());;){var n=0,i=this.reader.p(0);if(this.isend(i))return this.reader.seek_set(t),[e,"["];if("]"==i)return this.reader.seek_cur(1),[e+r+"]","\\["+r+"]"];if("["==i){if(""==(s=this.get_token_sq_char_class()))if(""==(s=this.get_token_sq_equi_class()))if(""==(s=this.get_token_sq_coll_element())){var s=(c=this.get_token_sq_c())[0];n=c[1]}r+=s}else{s=(c=this.get_token_sq_c())[0],n=c[1];r+=s}if(0!=n&&"-"==this.reader.p(0)&&!this.isend(this.reader.p(1))&&("\\"!=this.reader.p(1)||"n"!=this.reader.p(2))){if(this.reader.seek_cur(1),r+="-","["==(i=this.reader.p(0))){if(""!=(s=this.get_token_sq_coll_element()))var a=o(s[2]);else s=(c=this.get_token_sq_c())[0],a=c[1];r+=s}else{var c;s=(c=this.get_token_sq_c())[0],a=c[1];r+=s}if(n>a||a>n+256)throw G("E16: Invalid range",this.reader.getpos())}}},j.prototype.get_token_sq_c=function(){if("\\"==(e=this.reader.p(0))){if(this.reader.seek_cur(1),"n"==(e=this.reader.p(0)))return this.reader.seek_cur(1),["\\n",0];if("r"==e)return this.reader.seek_cur(1),["\\r",13];if("t"==e)return this.reader.seek_cur(1),["\\t",9];if("e"==e)return this.reader.seek_cur(1),["\\e",27];if("b"==e)return this.reader.seek_cur(1),["\\b",8];if(-1!=v("]^-\\",e))return this.reader.seek_cur(1),["\\"+e,o(e)];if(-1!=v("doxuU",e)){var e,t=this.get_token_sq_coll_char();return[e=t[0],t[1]]}return["\\",o("\\")]}return"-"==e?(this.reader.seek_cur(1),["-",o("-")]):(this.reader.seek_cur(1),[e,o(e)])},j.prototype.get_token_sq_coll_char=function(){var e=this.reader.tell(),t=this.reader.get();if("d"==t)var r=y(n=this.getdecchrs(),10);else if("o"==t)r=y(n=this.getoctchrs(),8);else if("x"==t)r=y(n=this.gethexchrs(2),16);else if("u"==t)r=y(n=this.gethexchrs(4),16);else if("U"==t)r=y(n=this.gethexchrs(8),16);else var n="";return""==n?(this.reader.seek_set(e),"\\"):["\\"+t+n,r]},j.prototype.get_token_sq_coll_element=function(){return"["!=this.reader.p(0)||"."!=this.reader.p(1)||this.isend(this.reader.p(2))||"."!=this.reader.p(3)||"]"!=this.reader.p(4)?"":this.reader.getn(5)},j.prototype.get_token_sq_equi_class=function(){return"["!=this.reader.p(0)||"="!=this.reader.p(1)||this.isend(this.reader.p(2))||"="!=this.reader.p(3)||"]"!=this.reader.p(4)?"":this.reader.getn(5)},j.prototype.get_token_sq_char_class=function(){var e=this.reader.tell();if("["==this.reader.p(0)&&":"==this.reader.p(1)){this.reader.seek_cur(2);var t=this.reader.read_alpha();if(":"==this.reader.p(0)&&"]"==this.reader.p(1)){this.reader.seek_cur(2);for(var r=["alnum","alpha","blank","cntrl","digit","graph","lower","print","punct","space","upper","xdigit","tab","return","backspace","escape"],n=0;n<r.length;++n){var i=r[n];if(t==i)return"[:"+i+":]"}}}return this.reader.seek_set(e),""},j.prototype.get_token_at=function(e){var t=this.reader.getpos();if(">"==(r=this.reader.get()))return[e+">","\\@>"];if("="==r)return[e+"=","\\@="];if("!"==r)return[e+"!","\\@!"];if("<"==r){var r;if("="==(r=this.reader.get()))return[e+"<=","\\@<="];if("!"==r)return[e+"<!","\\@<!"]}throw G("E64: @ follows nothing",t)},j.prototype.get_token_percent=function(e){var t=this.reader.get();return"^"==t?[e+"^","\\%^"]:"$"==t?[e+"$","\\%$"]:"V"==t?[e+"V","\\%V"]:"#"==t?[e+"#","\\%#"]:"["==t?this.get_token_percent_sq(e+"["):"("==t?[e+"(","\\%("]:this.get_token_mlcv(e)},j.prototype.get_token_percent_sq=function(e){for(var t="";;){var r=this.reader.peek();if(this.isend(r))throw G("E69: Missing ] after \\%[",this.reader.getpos());if("]"==r){if(""==t)throw G("E70: Empty \\%[",this.reader.getpos());this.reader.seek_cur(1);break}this.reader.seek_cur(1),t+=r}return[e+t+"]","\\%["+t+"]"]},j.prototype.get_token_mlvc=function(e){var t="",r="";"<"!=this.reader.p(0)&&">"!=this.reader.p(0)||(t+=r=this.reader.get());if("'"==this.reader.p(0)){t+=this.reader.get();var n=this.reader.p(0);if(this.isend(n))n="";else n=this.reader.get();return[e+t+n,"\\%"+r+"'"+n]}if(x(this.reader.p(0))){var i=this.reader.read_digit();if(t+=i,"l"==(n=this.reader.p(0)))return this.reader.get(),[e+t+"l","\\%"+r+i+"l"];if("c"==n)return this.reader.get(),[e+t+"c","\\%"+r+i+"c"];if("v"==n)return this.reader.get(),[e+t+"v","\\%"+r+i+"v"]}throw G("E71: Invalid character after %",this.reader.getpos())},j.prototype.getdecchrs=function(){return this.reader.read_digit()},j.prototype.getoctchrs=function(){return this.reader.read_odigit()},j.prototype.gethexchrs=function(e){for(var t="",r=d(e),n=0;n<r.length;++n){r[n];if(!O(this.reader.peek()))break;t+=this.reader.get()}return t},r.c[r.s]===e?function(){var e=!1,r="",n=process.argv;4==n.length?("--neovim"==n[2]&&(e=!0),r=n[3]):3==n.length&&(e=!1,r=n[2]);var i,s=new P((i=r,t.readFileSync(i,"utf-8").split(/\r\n|\r|\n/))),o=new M(e),a=new W;try{var c=a.compile(o.parse(s));for(var u in c)process.stdout.write(c[u]+"\n")}catch(e){process.stdout.write(e+"\n")}}():e.exports={VimLParser:M,StringReader:P,Compiler:W}}).call(this,r(54)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorLinePattern=/[^:]+:\s*(.+?):\s*line\s*([0-9]+)\s*col\s*([0-9]+)/,t.commentPattern=/^[ \t]*("|')/,t.keywordPattern=/[\w#&$<>.:]/,t.builtinFunctionPattern=/^((<SID>|\b(v|g|b|s|l|a):)?[\w#&]+)[ \t]*\([^)]*\)/,t.wordPrePattern=/^.*?(((<SID>|\b(v|g|b|s|l|a):)?[\w#&$.]+)|(<SID>|<SID|<SI|<S|<|\b(v|g|b|s|l|a):))$/,t.wordNextPattern=/^((SID>|ID>|D>|>|<SID>|\b(v|g|b|s|l|a):)?[\w#&$.]+|(:[\w#&$.]+)).*?(\r\n|\r|\n)?$/,t.colorschemePattern=/\bcolorscheme[ \t]+\w*$/,t.mapCommandPattern=/^([ \t]*(\[ \t]*)?)\w*map[ \t]+/,t.highlightLinkPattern=/^[ \t]*(hi|highlight)[ \t]+link([ \t]+[^ \t]+)*[ \t]*$/,t.highlightPattern=/^[ \t]*(hi|highlight)([ \t]+[^ \t]+)*[ \t]*$/,t.highlightValuePattern=/^[ \t]*(hi|highlight)([ \t]+[^ \t]+)*[ \t]+([^ \t=]+)=[^ \t=]*$/,t.autocmdPattern=/^[ \t]*(au|autocmd)!?[ \t]+([^ \t,]+,)*[^ \t,]*$/,t.builtinVariablePattern=[/\bv:\w*$/],t.optionPattern=[/(^|[ \t]+)&\w*$/,/(^|[ \t]+)set(l|local|g|global)?[ \t]+\w+$/],t.notFunctionPattern=[/^[ \t]*\\$/,/^[ \t]*\w+$/,/^[ \t]*"/,/(let|set|colorscheme)[ \t][^ \t]*$/,/[^([,\\ \t\w#>]\w*$/,/^[ \t]*(hi|highlight)([ \t]+link)?([ \t]+[^ \t]+)*[ \t]*$/,t.autocmdPattern],t.commandPattern=[/(^|[ \t]):\w+$/,/^[ \t]*\w+$/,/:?silent!?[ \t]\w+/],t.featurePattern=[/\bhas\([ \t]*["']\w*/],t.expandPattern=[/\bexpand\(['"]<\w*$/,/\bexpand\([ \t]*['"]\w*$/],t.notIdentifierPattern=[t.commentPattern,/("|'):\w*$/,/^[ \t]*\\$/,/^[ \t]*call[ \t]+[^ \t()]*$/,/('|"|#|&|\$|<)\w*$/]},,,,,,function(e,t,r){"use strict";const n=r(62),i=r(99),s=r(134),o=r(135),a=r(137),c=r(63);async function u(e,t){l(e);const r=p(e,i.default,t),n=await Promise.all(r);return c.array.flatten(n)}function p(e,t,r){const i=[].concat(e),s=new a.default(r),o=n.generate(i,s),c=new t(s);return o.map(c.read,c)}function l(e){if(![].concat(e).every(e=>c.string.isString(e)&&!c.string.isEmpty(e)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){l(e);const r=p(e,o.default,t);return c.array.flatten(r)},e.stream=function(e,t){l(e);const r=p(e,s.default,t);return c.stream.merge(r)},e.generateTasks=function(e,t){l(e);const r=[].concat(e),i=new a.default(t);return n.generate(r,i)},e.isDynamicPattern=function(e,t){l(e);const r=new a.default(t);return c.pattern.isDynamicPattern(e,r)},e.escapePath=function(e){return l(e),c.path.escape(e)}}(u||(u={})),e.exports=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63);function i(e,t,r){const n=a(e);if("."in n){return[u(".",e,t,r)]}return c(n,t,r)}function s(e){return n.pattern.getPositivePatterns(e)}function o(e,t){return n.pattern.getNegativePatterns(e).concat(t).map(n.pattern.convertToPositivePattern)}function a(e){return e.reduce((e,t)=>{const r=n.pattern.getBaseDirectory(t);return r in e?e[r].push(t):e[r]=[t],e},{})}function c(e,t,r){return Object.keys(e).map(n=>u(n,e[n],t,r))}function u(e,t,r,i){return{dynamic:i,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(n.pattern.convertToNegativePattern))}}t.generate=function(e,t){const r=s(e),a=o(e,t.ignore),c=r.filter(e=>n.pattern.isStaticPattern(e,t)),u=r.filter(e=>n.pattern.isDynamicPattern(e,t)),p=i(c,a,!1),l=i(u,a,!0);return p.concat(l)},t.convertPatternsToTasks=i,t.getPositivePatterns=s,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=a,t.convertPatternGroupsToTasks=c,t.convertPatternGroupToTask=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(64);t.array=n;const i=r(65);t.errno=i;const s=r(66);t.fs=s;const o=r(67);t.path=o;const a=r(68);t.pattern=a;const c=r(95);t.stream=c;const u=r(98);t.string=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},t.splitWhen=function(e,t){const r=[[]];let n=0;for(const i of e)t(i)?r[++n]=[]:r[n].push(i);return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=2,s=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return n.resolve(e,t)},t.escape=function(e){return e.replace(s,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(i)}return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(69),s=r(72),o=r(89),a="**",c="\\",u=/[*?]|^!/,p=/\[.*]/,l=/(?:^|[^!*+?@])\(.*\|.*\)/,f=/[!*+?@]\(.*\)/,m=/{.*(?:,|\.\.).*}/;function h(e,t={}){return!d(e,t)}function d(e,t={}){return!(!1!==t.caseSensitiveMatch&&!e.includes(c))||(!!(u.test(e)||p.test(e)||l.test(e))||(!(!1===t.extglob||!f.test(e))||!(!1===t.braceExpansion||!m.test(e))))}function _(e){return e.startsWith("!")&&"("!==e[1]}function g(e){return!_(e)}function y(e){return e.endsWith("/"+a)}function R(e){return s.braces(e,{expand:!0,nodupes:!0})}function b(e,t){return s.makeRe(e,t)}t.isStaticPattern=h,t.isDynamicPattern=d,t.convertToPositivePattern=function(e){return _(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=_,t.isPositivePattern=g,t.getNegativePatterns=function(e){return e.filter(_)},t.getPositivePatterns=function(e){return e.filter(g)},t.getBaseDirectory=function(e){return i(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes(a)},t.endsWithSlashGlobStar=y,t.isAffectDepthOfReadingPattern=function(e){const t=n.basename(e);return y(e)||h(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(R(t)),[])},t.expandBraceExpansion=R,t.getPatternParts=function(e,t){const r=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===r.parts.length?[e]:r.parts},t.makeRe=b,t.convertPatternsToRe=function(e,t){return e.map(e=>b(e,t))},t.matchAny=function(e,t){return t.some(t=>t.test(e))}},function(e,t,r){"use strict";var n=r(70),i=r(13).posix.dirname,s="win32"===r(14).platform(),o=/\\/g,a=/[\{\[].*[\/]*.*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,u=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&s&&e.indexOf("/")<0&&(e=e.replace(o,"/")),a.test(e)&&(e+="/"),e+="a";do{e=i(e)}while(n(e)||c.test(e));return e.replace(u,"$1")}},function(e,t,r){
  3. /*!
  4. * is-glob <https://github.com/jonschlinkert/is-glob>
  5. *
  6. * Copyright (c) 2014-2017, Jon Schlinkert.
  7. * Released under the MIT License.
  8. */
  9. var n=r(71),i={"{":"}","(":")","[":"]"},s=/\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/,o=/\\(.)|(^!|[*?{}()[\]]|\(\?)/;e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(n(e))return!0;var r,a=s;for(t&&!1===t.strict&&(a=o);r=a.exec(e);){if(r[2])return!0;var c=r.index+r[0].length,u=r[1],p=u?i[u]:null;if(u&&p){var l=e.indexOf(p,c);-1!==l&&(c=l+1)}e=e.slice(c)}return!1}},function(e,t){
  10. /*!
  11. * is-extglob <https://github.com/jonschlinkert/is-extglob>
  12. *
  13. * Copyright (c) 2014-2016, Jon Schlinkert.
  14. * Licensed under the MIT License.
  15. */
  16. e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},function(e,t,r){"use strict";const n=r(49),i=r(73),s=r(83),o=r(86),a=e=>"string"==typeof e&&(""===e||"./"===e),c=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,o=new Set,a=0,c=e=>{o.add(e.output),r&&r.onResult&&r.onResult(e)};for(let o=0;o<t.length;o++){let u=s(String(t[o]),{...r,onResult:c},!0),p=u.state.negated||u.state.negatedExtglob;p&&a++;for(let t of e){let e=u(t,!0);(p?!e.isMatch:e.isMatch)&&(p?n.add(e.output):(n.delete(e.output),i.add(e.output)))}}let u=(a===t.length?[...o]:[...i]).filter(e=>!n.has(e));if(r&&0===u.length){if(!0===r.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map(e=>e.replace(/\\/g,"")):t}return u};c.match=c,c.matcher=(e,t)=>s(e,t),c.any=c.isMatch=(e,t,r)=>s(t,r)(e),c.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],s=c(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),i.push(e.output)}});for(let e of i)s.includes(e)||n.add(e);return[...n]},c.contains=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${n.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>c.contains(e,t,r));if("string"==typeof t){if(a(e)||a(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return c.isMatch(e,t,{...r,contains:!0})},c.matchKeys=(e,t,r)=>{if(!o.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=c(Object.keys(e),t,r),i={};for(let t of n)i[t]=e[t];return i},c.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),r);if(n.some(e=>t(e)))return!0}return!1},c.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),r);if(!n.every(e=>t(e)))return!1}return!0},c.all=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${n.inspect(e)}"`);return[].concat(t).every(t=>s(t,r)(e))},c.capture=(e,t,r)=>{let n=o.isWindows(r),i=s.makeRe(String(e),{...r,capture:!0}).exec(n?o.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},c.makeRe=(...e)=>s.makeRe(...e),c.scan=(...e)=>s.scan(...e),c.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let e of i(String(n),t))r.push(s.parse(e,t));return r},c.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:i(e,t)},c.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return c.braces(e,{...t,expand:!0})},e.exports=c},function(e,t,r){"use strict";const n=r(74),i=r(76),s=r(80),o=r(81),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let e=a.create(n,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};a.parse=(e,t={})=>o(e,t),a.stringify=(e,t={})=>n("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),i(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=s(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},function(e,t,r){"use strict";const n=r(75);e.exports=(e,t={})=>{let r=(e,i={})=>{let s=t.escapeInvalid&&n.isInvalidBrace(i),o=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||o)&&n.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=r(t);return a};return r(e)}},function(e,t,r){"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,r,n=1,i)=>!1!==i&&(!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(n)>=i),t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||"open"===n.type||"close"===n.type)&&!0!==n.escaped&&(n.value="\\"+n.value,n.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0?(e.invalid=!0,!0):(!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0))),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{const t=[],r=e=>{for(let n=0;n<e.length;n++){let i=e[n];Array.isArray(i)?r(i,t):void 0!==i&&t.push(i)}return t};return r(e),t}},function(e,t,r){"use strict";const n=r(77),i=r(75);e.exports=(e,t={})=>{let r=(e,s={})=>{let o=i.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===a,u=!0===t.escapeInvalid?"\\":"",p="";if(!0===e.isOpen)return u+e.value;if(!0===e.isClose)return u+e.value;if("open"===e.type)return c?u+e.value:"(";if("close"===e.type)return c?u+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let r=i.reduce(e.nodes),s=n(...r,{...t,wrap:!1,toRegex:!0});if(0!==s.length)return r.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)p+=r(t,e);return p};return r(e)}},function(e,t,r){"use strict";
  17. /*!
  18. * fill-range <https://github.com/jonschlinkert/fill-range>
  19. *
  20. * Copyright (c) 2014-present, Jon Schlinkert.
  21. * Licensed under the MIT License.
  22. */const n=r(49),i=r(78),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},u=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},p=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},l=(e,t,r,n)=>{if(r)return i(e,t,{wrap:!1,...n});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},f=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return i(e,t,r)},m=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e)),h=(e,t,r)=>{if(!0===r.strictRanges)throw m([e,t]);return[]},d=(e,t,r=1,n={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(!0===n.strictRanges)throw m([e,t]);return[]}0===i&&(i=0),0===s&&(s=0);let o=i>s,a=String(e),h=String(t),d=String(r);r=Math.max(Math.abs(r),1);let _=c(a)||c(h)||c(d),g=_?Math.max(a.length,h.length,d.length):0,y=!1===_&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),R=n.transform||(e=>t=>!0===e?Number(t):String(t))(y);if(n.toRegex&&1===r)return l(p(e,g),p(t,g),!0,n);let b={negatives:[],positives:[]},v=e=>b[e<0?"negatives":"positives"].push(Math.abs(e)),A=[],E=0;for(;o?i>=s:i<=s;)!0===n.toRegex&&r>1?v(i):A.push(u(R(i,E),g,y)),i=o?i-r:i+r,E++;return!0===n.toRegex?r>1?((e,t)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0),e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let r,n=t.capture?"":"?:",i="",s="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(s=`-(${n}${e.negatives.join("|")})`),r=i&&s?`${i}|${s}`:i||s,t.wrap?`(${n}${r})`:r})(b,n):f(A,null,{wrap:!1,...n}):A},_=(e,t,r,n={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return h(e,t,n);if("function"==typeof r)return _(e,t,1,{transform:r});if(s(r))return _(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,a(r)?a(e)&&a(t)?d(e,t,r,i):((e,t,r=1,n={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return h(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),o=`${t}`.charCodeAt(0),c=s>o,u=Math.min(s,o),p=Math.max(s,o);if(n.toRegex&&1===r)return l(u,p,!1,n);let m=[],d=0;for(;c?s>=o:s<=o;)m.push(i(s,d)),s=c?s-r:s+r,d++;return!0===n.toRegex?f(m,null,{wrap:!1,options:n}):m})(e,t,Math.max(Math.abs(r),1),i):null==r||s(r)?_(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,i)};e.exports=_},function(e,t,r){"use strict";
  23. /*!
  24. * to-regex-range <https://github.com/micromatch/to-regex-range>
  25. *
  26. * Copyright (c) 2015-present, Jon Schlinkert.
  27. * Released under the MIT License.
  28. */const n=r(79),i=(e,t,r)=>{if(!1===n(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===n(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...r};"boolean"==typeof s.strictZeros&&(s.relaxZeros=!1===s.strictZeros);let c=e+":"+t+"="+String(s.relaxZeros)+String(s.shorthand)+String(s.capture)+String(s.wrap);if(i.cache.hasOwnProperty(c))return i.cache[c].result;let u=Math.min(e,t),p=Math.max(e,t);if(1===Math.abs(u-p)){let r=e+"|"+t;return s.capture?`(${r})`:!1===s.wrap?r:`(?:${r})`}let l=h(e)||h(t),f={min:e,max:t,a:u,b:p},m=[],d=[];if(l&&(f.isPadded=l,f.maxLen=String(f.max).length),u<0){d=o(p<0?Math.abs(p):1,Math.abs(u),f,s),u=f.a=0}return p>=0&&(m=o(u,p,f,s)),f.negatives=d,f.positives=m,f.result=function(e,t,r){let n=a(e,t,"-",!1,r)||[],i=a(t,e,"",!1,r)||[],s=a(e,t,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}(d,m,s),!0===s.capture?f.result=`(${f.result})`:!1!==s.wrap&&m.length+d.length>1&&(f.result=`(?:${f.result})`),i.cache[c]=f,f.result};function s(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}(e,t),i=n.length,s="",o=0;for(let e=0;e<i;e++){let[t,i]=n[e];t===i?s+=t:"0"!==t||"9"!==i?s+=m(t,i,r):o++}return o&&(s+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function o(e,t,r,n){let i,o=function(e,t){let r=1,n=1,i=p(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),i=p(e,r+=1);for(i=l(t+1,n)-1;e<i&&i<=t;)s.add(i),i=l(t+1,n+=1)-1;return(s=[...s]).sort(c),s}(e,t),a=[],u=e;for(let e=0;e<o.length;e++){let t=o[e],c=s(String(u),String(t),n),p="";r.isPadded||!i||i.pattern!==c.pattern?(r.isPadded&&(p=d(t,r,n)),c.string=p+c.pattern+f(c.count),a.push(c),u=t+1,i=c):(i.count.length>1&&i.count.pop(),i.count.push(c.count[0]),i.string=i.pattern+f(i.count),u=t+1)}return a}function a(e,t,r,n,i){let s=[];for(let i of e){let{string:e}=i;n||u(t,"string",e)||s.push(r+e),n&&u(t,"string",e)&&s.push(r+e)}return s}function c(e,t){return e>t?1:t>e?-1:0}function u(e,t,r){return e.some(e=>e[t]===r)}function p(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function l(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function m(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}function h(e){return/^-?(0+)\d/.test(e)}function d(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},function(e,t,r){"use strict";
  29. /*!
  30. * is-number <https://github.com/jonschlinkert/is-number>
  31. *
  32. * Copyright (c) 2014-present, Jon Schlinkert.
  33. * Released under the MIT License.
  34. */e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},function(e,t,r){"use strict";const n=r(77),i=r(74),s=r(75),o=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?s.flatten(t).map(e=>`{${e}}`):t;for(let i of e)if(Array.isArray(i))for(let e of i)n.push(o(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),n.push(Array.isArray(e)?o(i,e,r):i+e);return s.flatten(n)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let u=c,p=c.queue;for(;"brace"!==u.type&&"root"!==u.type&&u.parent;)p=(u=u.parent).queue;if(e.invalid||e.dollar)return void p.push(o(p.pop(),i(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void p.push(o(p.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=s.reduce(e.nodes);if(s.exceedsLimit(...a,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=n(...a,t);return 0===c.length&&(c=i(e,t)),p.push(o(p.pop(),c)),void(e.nodes=[])}let l=s.encloseBrace(e),f=e.queue,m=e;for(;"brace"!==m.type&&"root"!==m.type&&m.parent;)f=(m=m.parent).queue;for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];"comma"!==r.type||"brace"!==e.type?"close"!==r.type?r.value&&"open"!==r.type?f.push(o(f.pop(),r.value)):r.nodes&&a(r,e):p.push(o(p.pop(),f,l)):(1===t&&f.push(""),f.push(""))}return f};return s.flatten(a(e))}},function(e,t,r){"use strict";const n=r(74),{MAX_LENGTH:i,CHAR_BACKSLASH:s,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:u,CHAR_RIGHT_PARENTHESES:p,CHAR_LEFT_CURLY_BRACE:l,CHAR_RIGHT_CURLY_BRACE:f,CHAR_LEFT_SQUARE_BRACKET:m,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:d,CHAR_SINGLE_QUOTE:_,CHAR_NO_BREAK_SPACE:g,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=r(82);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r=t||{},R="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;if(e.length>R)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${R})`);let b,v={type:"root",input:e,nodes:[]},A=[v],E=v,T=v,x=0,O=e.length,N=0,w=0;const C=()=>e[N++],S=e=>{if("text"===e.type&&"dot"===T.type&&(T.type="text"),!T||"text"!==T.type||"text"!==e.type)return E.nodes.push(e),e.parent=E,e.prev=T,T=e,e;T.value+=e.value};for(S({type:"bos"});N<O;)if(E=A[A.length-1],(b=C())!==y&&b!==g)if(b!==s)if(b!==h)if(b!==m)if(b!==u)if(b!==p)if(b!==d&&b!==_&&b!==o)if(b!==l)if(b!==f)if(b===a&&w>0){if(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:n(E)}]}S({type:"comma",value:b}),E.commas++}else if(b===c&&w>0&&0===E.commas){let e=E.nodes;if(0===w||0===e.length){S({type:"text",value:b});continue}if("dot"===T.type){if(E.range=[],T.value+=b,T.type="range",3!==E.nodes.length&&5!==E.nodes.length){E.invalid=!0,E.ranges=0,T.type="text";continue}E.ranges++,E.args=[];continue}if("range"===T.type){e.pop();let t=e[e.length-1];t.value+=T.value+b,T=t,E.ranges--;continue}S({type:"dot",value:b})}else S({type:"text",value:b});else{if("brace"!==E.type){S({type:"text",value:b});continue}let e="close";(E=A.pop()).close=!0,S({type:e,value:b}),w--,E=A[A.length-1]}else{w++;let e=T.value&&"$"===T.value.slice(-1)||!0===E.dollar;E=S({type:"brace",open:!0,close:!1,dollar:e,depth:w,commas:0,ranges:0,nodes:[]}),A.push(E),S({type:"open",value:b})}else{let e,r=b;for(!0!==t.keepQuotes&&(b="");N<O&&(e=C());)if(e!==s){if(e===r){!0===t.keepQuotes&&(b+=e);break}b+=e}else b+=e+C();S({type:"text",value:b})}else{if("paren"!==E.type){S({type:"text",value:b});continue}E=A.pop(),S({type:"text",value:b}),E=A[A.length-1]}else E=S({type:"paren",nodes:[]}),A.push(E),S({type:"text",value:b});else{x++;let e;for(;N<O&&(e=C());)if(b+=e,e!==m)if(e!==s){if(e===h&&0===--x)break}else b+=C();else x++;S({type:"text",value:b})}else S({type:"text",value:"\\"+b});else S({type:"text",value:(t.keepEscaping?b:"")+C()});do{if("root"!==(E=A.pop()).type){E.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=A[A.length-1],t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}}while(A.length>0);return S({type:"eos"}),v}},function(e,t,r){"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},function(e,t,r){"use strict";e.exports=r(84)},function(e,t,r){"use strict";const n=r(13),i=r(85),s=r(88),o=r(86),a=(e,t,r=!1)=>{if(Array.isArray(e)){let n=e.map(e=>a(e,t,r));return e=>{for(let t of n){let r=t(e);if(r)return r}return!1}}if("string"!=typeof e||""===e)throw new TypeError("Expected pattern to be a non-empty string");let n=t||{},i=o.isWindows(t),s=a.makeRe(e,t,!1,!0),c=s.state;delete s.state;let u=()=>!1;if(n.ignore){let e={...t,ignore:null,onMatch:null,onResult:null};u=a(n.ignore,e,r)}const p=(r,o=!1)=>{let{isMatch:p,match:l,output:f}=a.test(r,s,t,{glob:e,posix:i}),m={glob:e,state:c,regex:s,posix:i,input:r,output:f,match:l,isMatch:p};return"function"==typeof n.onResult&&n.onResult(m),!1===p?(m.isMatch=!1,!!o&&m):u(r)?("function"==typeof n.onIgnore&&n.onIgnore(m),m.isMatch=!1,!!o&&m):("function"==typeof n.onMatch&&n.onMatch(m),!o||m)};return r&&(p.state=c),p};a.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};let s=r||{},c=s.format||(i?o.toPosixSlashes:null),u=e===n,p=u&&c?c(e):e;return!1===u&&(u=(p=c?c(e):e)===n),!1!==u&&!0!==s.capture||(u=!0===s.matchBase||!0===s.basename?a.matchBase(e,t,r,i):t.exec(p)),{isMatch:!!u,match:u,output:p}},a.matchBase=(e,t,r,i=o.isWindows(r))=>{return(t instanceof RegExp?t:a.makeRe(t,r)).test(n.basename(e))},a.isMatch=(e,t,r)=>a(t,r)(e),a.parse=(e,t)=>s(e,t),a.scan=(e,t)=>i(e,t),a.makeRe=(e,t,r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i,o=t||{},c=o.contains?"":"^",u=o.contains?"":"$",p={negated:!1,fastpaths:!0},l="";if(e.startsWith("./")&&(e=e.slice(2),l=p.prefix="./"),!1===o.fastpaths||"."!==e[0]&&"*"!==e[0]||(i=s.fastpaths(e,t)),void 0===i&&((p=a.parse(e,t)).prefix=l+(p.prefix||""),i=p.output),!0===r)return i;let f=`${c}(?:${i})${u}`;p&&!0===p.negated&&(f=`^(?!${f}).*$`);let m=a.toRegex(f,t);return!0===n&&(m.state=p),m},a.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},a.constants=r(87),e.exports=a},function(e,t,r){"use strict";const n=r(86),{CHAR_ASTERISK:i,CHAR_AT:s,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:u,CHAR_FORWARD_SLASH:p,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:m,CHAR_PLUS:h,CHAR_QUESTION_MARK:d,CHAR_RIGHT_CURLY_BRACE:_,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:y}=r(87);e.exports=(e,t)=>{let r,R,b=t||{},v=e.length-1,A=-1,E=0,T=0,x=!1,O=!1,N=!1,w=0,C=!1,S=()=>A>=v,k=()=>(r=R,e.charCodeAt(++A));for(;A<v;){let t;if((R=k())!==o){if(!0===C||R===l)for(w++;!S()&&(t=k());)if(t!==o)if(t!==l){if(!C&&t===c&&(t=k())===c){x=!0;break}if(!C&&t===a){x=!0;break}if(t===_&&0===--w){C=!1;break}}else w++;else O=!0,t=k();if(R!==p){if(R===i){x=!0;break}if(R===i||R===d){x=!0;break}if(R===m)for(;!S()&&(t=k());)if(t!==o){if(t===y){x=!0;break}}else O=!0,t=k();if((R===h||R===s||R===u)&&e.charCodeAt(A+1)===f){x=!0;break}if(R!==u||A!==E){if(R===f)for(;!S()&&(t=k());)if(t!==o){if(t===g){x=!0;break}}else O=!0,t=k();if(x)break}else N=!0,E++}else{if(r===c&&A===E+1){E+=2;continue}T=A+1}}else O=!0,(t=k())===l&&(C=!0)}let L="",D=e,G=e,M="";return E>0&&(L=e.slice(0,E),e=e.slice(E),T-=E),G&&!0===x&&T>0?(G=e.slice(0,T),M=e.slice(T)):!0===x?(G="",M=e):G=e,G&&""!==G&&"/"!==G&&G!==e&&(e=>e===p||e===o)(G.charCodeAt(G.length-1))&&(G=G.slice(0,-1)),!0===b.unescape&&(M&&(M=n.removeBackslashes(M)),G&&!0===O&&(G=n.removeBackslashes(G))),{prefix:L,input:D,base:G,glob:M,negated:N,isGlob:x}}},function(e,t,r){"use strict";const n=r(13),i="win32"===process.platform,{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:a}=r(87);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>s.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(o,"\\$1"),t.toPosixSlashes=e=>e.replace(/\\/g,"/"),t.removeBackslashes=e=>e.replace(a,e=>"\\"===e?"":e),t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");return 3===e.length&&+e[0]>=9||8==+e[0]&&+e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===i||"\\"===n.sep,t.escapeLast=(e,r,n)=>{let i=e.lastIndexOf(r,n);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,r,i-1):e.slice(0,i)+"\\"+e.slice(i)}},function(e,t,r){"use strict";const n=r(13),i={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},s={...i,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?s:i}},function(e,t,r){"use strict";const n=r(86),i=r(87),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHAR:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:u}=i,p=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map(e=>n.escapeRegex(e)).join("..")}return r},l=e=>{let t=1;for(;"!"===e.peek()&&("("!==e.peek(2)||"?"===e.peek(3));)e.advance(),e.start++,t++;return t%2!=0&&(e.negated=!0,e.start++,!0)},f=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,m=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=u[e]||e;let r={...t},m="number"==typeof r.maxLength?Math.min(s,r.maxLength):s,h=e.length;if(h>m)throw new SyntaxError(`Input length: ${h}, exceeds maximum allowed length: ${m}`);let d={type:"bos",value:"",output:r.prepend||""},_=[d],g=r.capture?"":"?:",y=n.isWindows(t);const R=i.globChars(y),b=i.extglobChars(R),{DOT_LITERAL:v,PLUS_LITERAL:A,SLASH_LITERAL:E,ONE_CHAR:T,DOTS_SLASH:x,NO_DOT:O,NO_DOT_SLASH:N,NO_DOTS_SLASH:w,QMARK:C,QMARK_NO_DOT:S,STAR:k,START_ANCHOR:L}=R,D=e=>`(${g}(?:(?!${L}${e.dot?x:v}).)*?)`;let G=r.dot?"":O,M=!0===r.bash?D(r):k,I=r.dot?C:S;r.capture&&(M=`(${M})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);let F,B={index:-1,start:0,consumed:"",output:"",backtrack:!1,brackets:0,braces:0,parens:0,quotes:0,tokens:_},P=[],W=[],j=d;const q=()=>B.index===h-1,H=B.peek=(t=1)=>e[B.index+t],$=B.advance=()=>e[++B.index],X=e=>{B.output+=null!=e.output?e.output:e.value,B.consumed+=e.value||""},U=e=>{B[e]++,W.push(e)},V=e=>{B[e]--,W.pop()},z=e=>{if("globstar"===j.type){let t=B.braces>0&&("comma"===e.type||"brace"===e.type),r=P.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(B.output=B.output.slice(0,-j.output.length),j.type="star",j.value="*",j.output=M,B.output+=j.output)}P.length&&"paren"!==e.type&&!b[e.value]&&(P[P.length-1].inner+=e.value),(e.value||e.output)&&X(e),j&&"text"===j.type&&"text"===e.type?j.value+=e.value:(e.prev=j,_.push(e),j=e)},K=(e,t)=>{let n={...b[t],conditions:1,inner:""};n.prev=j,n.parens=B.parens,n.output=B.output;let i=(r.capture?"(":"")+n.open;z({type:e,value:t,output:B.output?"":T}),z({type:"paren",extglob:!0,value:$(),output:i}),U("parens"),P.push(n)},Z=t=>{let n=t.close+(r.capture?")":"");if("negate"===t.type){let i=M;t.inner&&t.inner.length>1&&t.inner.includes("/")&&(i=D(r)),(i!==M||q()||/^\)+$/.test(e.slice(B.index+1)))&&(n=t.close=")$))"+i),"bos"===t.prev.type&&q()&&(B.negatedExtglob=!0)}z({type:"paren",extglob:!0,value:F,output:n}),V("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=!1,n=e.replace(c,(e,r,n,i,s,o)=>"\\"===i?(t=!0,e):"?"===i?r?r+i+(s?C.repeat(s.length):""):0===o?I+(s?C.repeat(s.length):""):C.repeat(n.length):"."===i?v.repeat(n.length):"*"===i?r?r+i+(s?M:""):M:r?e:"\\"+e);return!0===t&&(n=!0===r.unescape?n.replace(/\\/g,""):n.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),B.output=n,B}for(;!q();){if("\0"===(F=$()))continue;if("\\"===F){let t=H();if("/"===t&&!0!==r.bash)continue;if("."===t||";"===t)continue;if(!t){z({type:"text",value:F+="\\"});continue}let n=/^\\+/.exec(e.slice(B.index+1)),i=0;if(n&&n[0].length>2&&(i=n[0].length,B.index+=i,i%2!=0&&(F+="\\")),!0===r.unescape?F=$()||"":F+=$()||"",0===B.brackets){z({type:"text",value:F});continue}}if(B.brackets>0&&("]"!==F||"["===j.value||"[^"===j.value)){if(!1!==r.posix&&":"===F){let e=j.value.slice(1);if(e.includes("[")&&(j.posix=!0,e.includes(":"))){let e=j.value.lastIndexOf("["),t=j.value.slice(0,e),r=j.value.slice(e+2),n=o[r];if(n){j.value=t+n,B.backtrack=!0,$(),d.output||1!==_.indexOf(j)||(d.output=T);continue}}}("["===F&&":"!==H()||"-"===F&&"]"===H())&&(F="\\"+F),"]"!==F||"["!==j.value&&"[^"!==j.value||(F="\\"+F),!0===r.posix&&"!"===F&&"["===j.value&&(F="^"),j.value+=F,X({value:F});continue}if(1===B.quotes&&'"'!==F){F=n.escapeRegex(F),j.value+=F,X({value:F});continue}if('"'===F){B.quotes=1===B.quotes?0:1,!0===r.keepQuotes&&z({type:"text",value:F});continue}if("("===F){z({type:"paren",value:F}),U("parens");continue}if(")"===F){if(0===B.parens&&!0===r.strictBrackets)throw new SyntaxError(f("opening","("));let e=P[P.length-1];if(e&&B.parens===e.parens+1){Z(P.pop());continue}z({type:"paren",value:F,output:B.parens?")":"\\)"}),V("parens");continue}if("["===F){if(!0!==r.nobracket&&e.slice(B.index+1).includes("]"))U("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(f("closing","]"));F="\\"+F}z({type:"bracket",value:F});continue}if("]"===F){if(!0===r.nobracket||j&&"bracket"===j.type&&1===j.value.length){z({type:"text",value:F,output:"\\"+F});continue}if(0===B.brackets){if(!0===r.strictBrackets)throw new SyntaxError(f("opening","["));z({type:"text",value:F,output:"\\"+F});continue}V("brackets");let e=j.value.slice(1);if(!0===j.posix||"^"!==e[0]||e.includes("/")||(F="/"+F),j.value+=F,X({value:F}),!1===r.literalBrackets||n.hasRegexChars(e))continue;let t=n.escapeRegex(j.value);if(B.output=B.output.slice(0,-j.value.length),!0===r.literalBrackets){B.output+=t,j.value=t;continue}j.value=`(${g}${t}|${j.value})`,B.output+=j.value;continue}if("{"===F&&!0!==r.nobrace){z({type:"brace",value:F,output:"("}),U("braces");continue}if("}"===F){if(!0===r.nobrace||0===B.braces){z({type:"text",value:F,output:"\\"+F});continue}let e=")";if(!0===B.dots){let t=_.slice(),n=[];for(let e=t.length-1;e>=0&&(_.pop(),"brace"!==t[e].type);e--)"dots"!==t[e].type&&n.unshift(t[e].value);e=p(n,r),B.backtrack=!0}z({type:"brace",value:F,output:e}),V("braces");continue}if("|"===F){P.length>0&&P[P.length-1].conditions++,z({type:"text",value:F});continue}if(","===F){let e=F;B.braces>0&&"braces"===W[W.length-1]&&(e="|"),z({type:"comma",value:F,output:e});continue}if("/"===F){if("dot"===j.type&&1===B.index){B.start=B.index+1,B.consumed="",B.output="",_.pop(),j=d;continue}z({type:"slash",value:F,output:E});continue}if("."===F){if(B.braces>0&&"dot"===j.type){"."===j.value&&(j.output=v),j.type="dots",j.output+=F,j.value+=F,B.dots=!0;continue}z({type:"dot",value:F,output:v});continue}if("?"===F){if(j&&"paren"===j.type){let e=H(),t=F;if("<"===e&&!n.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===j.value&&!/[!=<:]/.test(e)||"<"===e&&!/[!=]/.test(H(2)))&&(t="\\"+F),z({type:"text",value:F,output:t});continue}if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){K("qmark",F);continue}if(!0!==r.dot&&("slash"===j.type||"bos"===j.type)){z({type:"qmark",value:F,output:S});continue}z({type:"qmark",value:F,output:C});continue}if("!"===F){if(!0!==r.noextglob&&"("===H()&&("?"!==H(2)||!/[!=<:]/.test(H(3)))){K("negate",F);continue}if(!0!==r.nonegate&&0===B.index){l(B);continue}}if("+"===F){if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){K("plus",F);continue}if(j&&("bracket"===j.type||"paren"===j.type||"brace"===j.type)){let e=!0===j.extglob?"\\"+F:F;z({type:"plus",value:F,output:e});continue}if(B.parens>0&&!1!==r.regex){z({type:"plus",value:F});continue}z({type:"plus",value:A});continue}if("@"===F){if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){z({type:"at",value:F,output:""});continue}z({type:"text",value:F});continue}if("*"!==F){"$"!==F&&"^"!==F||(F="\\"+F);let t=a.exec(e.slice(B.index+1));t&&(F+=t[0],B.index+=t[0].length),z({type:"text",value:F});continue}if(j&&("globstar"===j.type||!0===j.star)){j.type="star",j.star=!0,j.value+=F,j.output=M,B.backtrack=!0,B.consumed+=F;continue}if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){K("star",F);continue}if("star"===j.type){if(!0===r.noglobstar){B.consumed+=F;continue}let t=j.prev,n=t.prev,i="slash"===t.type||"bos"===t.type,s=n&&("star"===n.type||"globstar"===n.type);if(!0===r.bash&&(!i||!q()&&"/"!==H())){z({type:"star",value:F,output:""});continue}let o=B.braces>0&&("comma"===t.type||"brace"===t.type),a=P.length&&("pipe"===t.type||"paren"===t.type);if(!i&&"paren"!==t.type&&!o&&!a){z({type:"star",value:F,output:""});continue}for(;"/**"===e.slice(B.index+1,B.index+4);){let t=e[B.index+4];if(t&&"/"!==t)break;B.consumed+="/**",B.index+=3}if("bos"===t.type&&q()){j.type="globstar",j.value+=F,j.output=D(r),B.output=j.output,B.consumed+=F;continue}if("slash"===t.type&&"bos"!==t.prev.type&&!s&&q()){B.output=B.output.slice(0,-(t.output+j.output).length),t.output="(?:"+t.output,j.type="globstar",j.output=D(r)+"|$)",j.value+=F,B.output+=t.output+j.output,B.consumed+=F;continue}let c=H();if("slash"===t.type&&"bos"!==t.prev.type&&"/"===c){let e=void 0!==H(2)?"|$":"";B.output=B.output.slice(0,-(t.output+j.output).length),t.output="(?:"+t.output,j.type="globstar",j.output=`${D(r)}${E}|${E}${e})`,j.value+=F,B.output+=t.output+j.output,B.consumed+=F+$(),z({type:"slash",value:F,output:""});continue}if("bos"===t.type&&"/"===c){j.type="globstar",j.value+=F,j.output=`(?:^|${E}|${D(r)}${E})`,B.output=j.output,B.consumed+=F+$(),z({type:"slash",value:F,output:""});continue}B.output=B.output.slice(0,-j.output.length),j.type="globstar",j.output=D(r),j.value+=F,B.output+=j.output,B.consumed+=F;continue}let t={type:"star",value:F,output:M};!0!==r.bash?!j||"bracket"!==j.type&&"paren"!==j.type||!0!==r.regex?(B.index!==B.start&&"slash"!==j.type&&"dot"!==j.type||("dot"===j.type?(B.output+=N,j.output+=N):!0===r.dot?(B.output+=w,j.output+=w):(B.output+=G,j.output+=G),"*"!==H()&&(B.output+=T,j.output+=T)),z(t)):(t.output=F,z(t)):(t.output=".*?","bos"!==j.type&&"slash"!==j.type||(t.output=G+t.output),z(t))}for(;B.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(f("closing","]"));B.output=n.escapeLast(B.output,"["),V("brackets")}for(;B.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(f("closing",")"));B.output=n.escapeLast(B.output,"("),V("parens")}for(;B.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(f("closing","}"));B.output=n.escapeLast(B.output,"{"),V("braces")}if(!0===r.strictSlashes||"star"!==j.type&&"bracket"!==j.type||z({type:"maybe_slash",value:"",output:`${E}?`}),!0===B.backtrack){B.output="";for(let e of B.tokens)B.output+=null!=e.output?e.output:e.value,e.suffix&&(B.output+=e.suffix)}return B};m.fastpaths=(e,t)=>{let r={...t},o="number"==typeof r.maxLength?Math.min(s,r.maxLength):s,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=u[e]||e;let c=n.isWindows(t);const{DOT_LITERAL:p,SLASH_LITERAL:l,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:h,NO_DOTS:d,NO_DOTS_SLASH:_,STAR:g,START_ANCHOR:y}=i.globChars(c);let R=r.capture?"":"?:",b=!0===r.bash?".*?":g,v=r.dot?d:h,A=r.dot?_:h;r.capture&&(b=`(${b})`);const E=e=>`(${R}(?:(?!${y}${e.dot?m:p}).)*?)`,T=e=>{switch(e){case"*":return`${v}${f}${b}`;case".*":return`${p}${f}${b}`;case"*.*":return`${v}${b}${p}${f}${b}`;case"*/*":return`${v}${b}${l}${f}${A}${b}`;case"**":return v+E(r);case"**/*":return`(?:${v}${E(r)}${l})?${A}${f}${b}`;case"**/*.*":return`(?:${v}${E(r)}${l})?${A}${b}${p}${f}${b}`;case"**/.*":return`(?:${v}${E(r)}${l})?${p}${f}${b}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let n=T(r[1],t);if(!n)return;return n+p+r[2]}}};let x=T(e);return x&&!0!==r.strictSlashes&&(x+=`${l}?`),x},e.exports=m},function(e,t,r){"use strict";e.exports=r(90)},function(e,t,r){"use strict";const n=r(13),i=r(91),s=r(94),o=r(92),a=r(93),c=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map(e=>c(e,t,r));return e=>{for(const t of n){const r=t(e);if(r)return r}return!1}}const n=(e=>e&&"object"==typeof e&&!Array.isArray(e))(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const i=t||{},s=o.isWindows(t),a=n?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=a.state;delete a.state;let p=()=>!1;if(i.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=c(i.ignore,e,r)}const l=(r,n=!1)=>{const{isMatch:o,match:l,output:f}=c.test(r,a,t,{glob:e,posix:s}),m={glob:e,state:u,regex:a,posix:s,input:r,output:f,match:l,isMatch:o};return"function"==typeof i.onResult&&i.onResult(m),!1===o?(m.isMatch=!1,!!n&&m):p(r)?("function"==typeof i.onIgnore&&i.onIgnore(m),m.isMatch=!1,!!n&&m):("function"==typeof i.onMatch&&i.onMatch(m),!n||m)};return r&&(l.state=u),l};c.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=r||{},a=s.format||(i?o.toPosixSlashes:null);let u=e===n,p=u&&a?a(e):e;return!1===u&&(u=(p=a?a(e):e)===n),!1!==u&&!0!==s.capture||(u=!0===s.matchBase||!0===s.basename?c.matchBase(e,t,r,i):t.exec(p)),{isMatch:Boolean(u),match:u,output:p}},c.matchBase=(e,t,r,i=o.isWindows(r))=>{return(t instanceof RegExp?t:c.makeRe(t,r)).test(n.basename(e))},c.isMatch=(e,t,r)=>c(t,r)(e),c.parse=(e,t)=>Array.isArray(e)?e.map(e=>c.parse(e,t)):s(e,{...t,fastpaths:!1}),c.scan=(e,t)=>i(e,t),c.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},s=i.contains?"":"^",o=i.contains?"":"$";let a=`${s}(?:${e.output})${o}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const u=c.toRegex(a,t);return!0===n&&(u.state=e),u},c.makeRe=(e,t,r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");const i=t||{};let o,a={negated:!1,fastpaths:!0},u="";return e.startsWith("./")&&(e=e.slice(2),u=a.prefix="./"),!1===i.fastpaths||"."!==e[0]&&"*"!==e[0]||(o=s.fastpaths(e,t)),void 0===o?(a=s(e,t)).prefix=u+(a.prefix||""):a.output=o,c.compileRe(a,t,r,n)},c.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},function(e,t,r){"use strict";const n=r(92),{CHAR_ASTERISK:i,CHAR_AT:s,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:u,CHAR_FORWARD_SLASH:p,CHAR_LEFT_CURLY_BRACE:l,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:m,CHAR_PLUS:h,CHAR_QUESTION_MARK:d,CHAR_RIGHT_CURLY_BRACE:_,CHAR_RIGHT_PARENTHESES:g,CHAR_RIGHT_SQUARE_BRACKET:y}=r(93),R=e=>e===p||e===o,b=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const r=t||{},v=e.length-1,A=!0===r.parts||!0===r.scanToEnd,E=[],T=[],x=[];let O,N,w=e,C=-1,S=0,k=0,L=!1,D=!1,G=!1,M=!1,I=!1,F=!1,B=!1,P=!1,W=!1,j=0,q={value:"",depth:0,isGlob:!1};const H=()=>C>=v,$=()=>w.charCodeAt(C+1),X=()=>(O=N,w.charCodeAt(++C));for(;C<v;){let e;if((N=X())!==o){if(!0===F||N===l){for(j++;!0!==H()&&(N=X());)if(N!==o)if(N!==l){if(!0!==F&&N===c&&(N=X())===c){if(L=q.isBrace=!0,G=q.isGlob=!0,W=!0,!0===A)continue;break}if(!0!==F&&N===a){if(L=q.isBrace=!0,G=q.isGlob=!0,W=!0,!0===A)continue;break}if(N===_&&0===--j){F=!1,L=q.isBrace=!0,W=!0;break}}else j++;else B=q.backslashes=!0,X();if(!0===A)continue;break}if(N!==p){if(!0!==r.noext){if(!0===(N===h||N===s||N===i||N===d||N===u)&&$()===f){if(G=q.isGlob=!0,M=q.isExtglob=!0,W=!0,!0===A){for(;!0!==H()&&(N=X());)if(N!==o){if(N===g){G=q.isGlob=!0,W=!0;break}}else B=q.backslashes=!0,N=X();continue}break}}if(N===i){if(O===i&&(I=q.isGlobstar=!0),G=q.isGlob=!0,W=!0,!0===A)continue;break}if(N===d){if(G=q.isGlob=!0,W=!0,!0===A)continue;break}if(N===m)for(;!0!==H()&&(e=X());)if(e!==o){if(e===y){if(D=q.isBracket=!0,G=q.isGlob=!0,W=!0,!0===A)continue;break}}else B=q.backslashes=!0,X();if(!0===r.nonegate||N!==u||C!==S){if(!0!==r.noparen&&N===f){if(G=q.isGlob=!0,!0===A){for(;!0!==H()&&(N=X());)if(N!==f){if(N===g){W=!0;break}}else B=q.backslashes=!0,N=X();continue}break}if(!0===G){if(W=!0,!0===A)continue;break}}else P=q.negated=!0,S++}else{if(E.push(C),T.push(q),q={value:"",depth:0,isGlob:!1},!0===W)continue;if(O===c&&C===S+1){S+=2;continue}k=C+1}}else B=q.backslashes=!0,(N=X())===l&&(F=!0)}!0===r.noext&&(M=!1,G=!1);let U=w,V="",z="";S>0&&(V=w.slice(0,S),w=w.slice(S),k-=S),U&&!0===G&&k>0?(U=w.slice(0,k),z=w.slice(k)):!0===G?(U="",z=w):U=w,U&&""!==U&&"/"!==U&&U!==w&&R(U.charCodeAt(U.length-1))&&(U=U.slice(0,-1)),!0===r.unescape&&(z&&(z=n.removeBackslashes(z)),U&&!0===B&&(U=n.removeBackslashes(U)));const K={prefix:V,input:e,start:S,base:U,glob:z,isBrace:L,isBracket:D,isGlob:G,isExtglob:M,isGlobstar:I,negated:P};if(!0===r.tokens&&(K.maxDepth=0,R(N)||T.push(q),K.tokens=T),!0===r.parts||!0===r.tokens){let t;for(let n=0;n<E.length;n++){const i=t?t+1:S,s=E[n],o=e.slice(i,s);r.tokens&&(0===n&&0!==S?(T[n].isPrefix=!0,T[n].value=V):T[n].value=o,b(T[n]),K.maxDepth+=T[n].depth),0===n&&""===o||x.push(o),t=s}if(t&&t+1<e.length){const n=e.slice(t+1);x.push(n),r.tokens&&(T[T.length-1].value=n,b(T[T.length-1]),K.maxDepth+=T[T.length-1].depth)}K.slashes=E,K.parts=x}return K}},function(e,t,r){"use strict";const n=r(13),i="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=r(93);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(s,"/"),t.removeBackslashes=e=>e.replace(o,e=>"\\"===e?"":e),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===i||"\\"===n.sep,t.escapeLast=(e,r,n)=>{const i=e.lastIndexOf(r,n);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,r,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}},function(e,t,r){"use strict";const n=r(13),i={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},s={...i,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?s:i}},function(e,t,r){"use strict";const n=r(93),i=r(92),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:u}=n,p=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map(e=>i.escapeRegex(e)).join("..")}return r},l=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,f=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=u[e]||e;const r={...t},f="number"==typeof r.maxLength?Math.min(s,r.maxLength):s;let m=e.length;if(m>f)throw new SyntaxError(`Input length: ${m}, exceeds maximum allowed length: ${f}`);const h={type:"bos",value:"",output:r.prepend||""},d=[h],_=r.capture?"":"?:",g=i.isWindows(t),y=n.globChars(g),R=n.extglobChars(y),{DOT_LITERAL:b,PLUS_LITERAL:v,SLASH_LITERAL:A,ONE_CHAR:E,DOTS_SLASH:T,NO_DOT:x,NO_DOT_SLASH:O,NO_DOTS_SLASH:N,QMARK:w,QMARK_NO_DOT:C,STAR:S,START_ANCHOR:k}=y,L=e=>`(${_}(?:(?!${k}${e.dot?T:b}).)*?)`,D=r.dot?"":x,G=r.dot?w:C;let M=!0===r.bash?L(r):S;r.capture&&(M=`(${M})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const I={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:d};e=i.removePrefix(e,I),m=e.length;const F=[],B=[],P=[];let W,j=h;const q=()=>I.index===m-1,H=I.peek=(t=1)=>e[I.index+t],$=I.advance=()=>e[++I.index],X=()=>e.slice(I.index+1),U=(e="",t=0)=>{I.consumed+=e,I.index+=t},V=e=>{I.output+=null!=e.output?e.output:e.value,U(e.value)},z=()=>{let e=1;for(;"!"===H()&&("("!==H(2)||"?"===H(3));)$(),I.start++,e++;return e%2!=0&&(I.negated=!0,I.start++,!0)},K=e=>{I[e]++,P.push(e)},Z=e=>{I[e]--,P.pop()},Y=e=>{if("globstar"===j.type){const t=I.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||F.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(I.output=I.output.slice(0,-j.output.length),j.type="star",j.value="*",j.output=M,I.output+=j.output)}if(F.length&&"paren"!==e.type&&!R[e.value]&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&V(e),j&&"text"===j.type&&"text"===e.type)return j.value+=e.value,void(j.output=(j.output||"")+e.value);e.prev=j,d.push(e),j=e},Q=(e,t)=>{const n={...R[t],conditions:1,inner:""};n.prev=j,n.parens=I.parens,n.output=I.output;const i=(r.capture?"(":"")+n.open;K("parens"),Y({type:e,value:t,output:I.output?"":E}),Y({type:"paren",extglob:!0,value:$(),output:i}),F.push(n)},J=e=>{let t=e.close+(r.capture?")":"");if("negate"===e.type){let n=M;e.inner&&e.inner.length>1&&e.inner.includes("/")&&(n=L(r)),(n!==M||q()||/^\)+$/.test(X()))&&(t=e.close=`)$))${n}`),"bos"===e.prev.type&&q()&&(I.negatedExtglob=!0)}Y({type:"paren",extglob:!0,value:W,output:t}),Z("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,s=e.replace(c,(e,t,r,i,s,o)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(s?w.repeat(s.length):""):0===o?G+(s?w.repeat(s.length):""):w.repeat(r.length):"."===i?b.repeat(r.length):"*"===i?t?t+i+(s?M:""):M:t?e:`\\${e}`);return!0===n&&(s=!0===r.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),s===e&&!0===r.contains?(I.output=e,I):(I.output=i.wrapOutput(s,I,t),I)}for(;!q();){if("\0"===(W=$()))continue;if("\\"===W){const e=H();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){Y({type:"text",value:W+="\\"});continue}const t=/^\\+/.exec(X());let n=0;if(t&&t[0].length>2&&(n=t[0].length,I.index+=n,n%2!=0&&(W+="\\")),!0===r.unescape?W=$()||"":W+=$()||"",0===I.brackets){Y({type:"text",value:W});continue}}if(I.brackets>0&&("]"!==W||"["===j.value||"[^"===j.value)){if(!1!==r.posix&&":"===W){const e=j.value.slice(1);if(e.includes("[")&&(j.posix=!0,e.includes(":"))){const e=j.value.lastIndexOf("["),t=j.value.slice(0,e),r=j.value.slice(e+2),n=o[r];if(n){j.value=t+n,I.backtrack=!0,$(),h.output||1!==d.indexOf(j)||(h.output=E);continue}}}("["===W&&":"!==H()||"-"===W&&"]"===H())&&(W=`\\${W}`),"]"!==W||"["!==j.value&&"[^"!==j.value||(W=`\\${W}`),!0===r.posix&&"!"===W&&"["===j.value&&(W="^"),j.value+=W,V({value:W});continue}if(1===I.quotes&&'"'!==W){W=i.escapeRegex(W),j.value+=W,V({value:W});continue}if('"'===W){I.quotes=1===I.quotes?0:1,!0===r.keepQuotes&&Y({type:"text",value:W});continue}if("("===W){K("parens"),Y({type:"paren",value:W});continue}if(")"===W){if(0===I.parens&&!0===r.strictBrackets)throw new SyntaxError(l("opening","("));const e=F[F.length-1];if(e&&I.parens===e.parens+1){J(F.pop());continue}Y({type:"paren",value:W,output:I.parens?")":"\\)"}),Z("parens");continue}if("["===W){if(!0!==r.nobracket&&X().includes("]"))K("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(l("closing","]"));W=`\\${W}`}Y({type:"bracket",value:W});continue}if("]"===W){if(!0===r.nobracket||j&&"bracket"===j.type&&1===j.value.length){Y({type:"text",value:W,output:`\\${W}`});continue}if(0===I.brackets){if(!0===r.strictBrackets)throw new SyntaxError(l("opening","["));Y({type:"text",value:W,output:`\\${W}`});continue}Z("brackets");const e=j.value.slice(1);if(!0===j.posix||"^"!==e[0]||e.includes("/")||(W=`/${W}`),j.value+=W,V({value:W}),!1===r.literalBrackets||i.hasRegexChars(e))continue;const t=i.escapeRegex(j.value);if(I.output=I.output.slice(0,-j.value.length),!0===r.literalBrackets){I.output+=t,j.value=t;continue}j.value=`(${_}${t}|${j.value})`,I.output+=j.value;continue}if("{"===W&&!0!==r.nobrace){K("braces");const e={type:"brace",value:W,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};B.push(e),Y(e);continue}if("}"===W){const e=B[B.length-1];if(!0===r.nobrace||!e){Y({type:"text",value:W,output:W});continue}let t=")";if(!0===e.dots){const e=d.slice(),n=[];for(let t=e.length-1;t>=0&&(d.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=p(n,r),I.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=I.output.slice(0,e.outputIndex),n=I.tokens.slice(e.tokensIndex);e.value=e.output="\\{",W=t="\\}",I.output=r;for(const e of n)I.output+=e.output||e.value}Y({type:"brace",value:W,output:t}),Z("braces"),B.pop();continue}if("|"===W){F.length>0&&F[F.length-1].conditions++,Y({type:"text",value:W});continue}if(","===W){let e=W;const t=B[B.length-1];t&&"braces"===P[P.length-1]&&(t.comma=!0,e="|"),Y({type:"comma",value:W,output:e});continue}if("/"===W){if("dot"===j.type&&I.index===I.start+1){I.start=I.index+1,I.consumed="",I.output="",d.pop(),j=h;continue}Y({type:"slash",value:W,output:A});continue}if("."===W){if(I.braces>0&&"dot"===j.type){"."===j.value&&(j.output=b);const e=B[B.length-1];j.type="dots",j.output+=W,j.value+=W,e.dots=!0;continue}if(I.braces+I.parens===0&&"bos"!==j.type&&"slash"!==j.type){Y({type:"text",value:W,output:b});continue}Y({type:"dot",value:W,output:b});continue}if("?"===W){if(!(j&&"("===j.value)&&!0!==r.noextglob&&"("===H()&&"?"!==H(2)){Q("qmark",W);continue}if(j&&"paren"===j.type){const e=H();let t=W;if("<"===e&&!i.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===j.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(X()))&&(t=`\\${W}`),Y({type:"text",value:W,output:t});continue}if(!0!==r.dot&&("slash"===j.type||"bos"===j.type)){Y({type:"qmark",value:W,output:C});continue}Y({type:"qmark",value:W,output:w});continue}if("!"===W){if(!0!==r.noextglob&&"("===H()&&("?"!==H(2)||!/[!=<:]/.test(H(3)))){Q("negate",W);continue}if(!0!==r.nonegate&&0===I.index){z();continue}}if("+"===W){if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){Q("plus",W);continue}if(j&&"("===j.value||!1===r.regex){Y({type:"plus",value:W,output:v});continue}if(j&&("bracket"===j.type||"paren"===j.type||"brace"===j.type)||I.parens>0){Y({type:"plus",value:W});continue}Y({type:"plus",value:v});continue}if("@"===W){if(!0!==r.noextglob&&"("===H()&&"?"!==H(2)){Y({type:"at",extglob:!0,value:W,output:""});continue}Y({type:"text",value:W});continue}if("*"!==W){"$"!==W&&"^"!==W||(W=`\\${W}`);const e=a.exec(X());e&&(W+=e[0],I.index+=e[0].length),Y({type:"text",value:W});continue}if(j&&("globstar"===j.type||!0===j.star)){j.type="star",j.star=!0,j.value+=W,j.output=M,I.backtrack=!0,I.globstar=!0,U(W);continue}let t=X();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Q("star",W);continue}if("star"===j.type){if(!0===r.noglobstar){U(W);continue}const n=j.prev,i=n.prev,s="slash"===n.type||"bos"===n.type,o=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!s||t[0]&&"/"!==t[0])){Y({type:"star",value:W,output:""});continue}const a=I.braces>0&&("comma"===n.type||"brace"===n.type),c=F.length&&("pipe"===n.type||"paren"===n.type);if(!s&&"paren"!==n.type&&!a&&!c){Y({type:"star",value:W,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[I.index+4];if(r&&"/"!==r)break;t=t.slice(3),U("/**",3)}if("bos"===n.type&&q()){j.type="globstar",j.value+=W,j.output=L(r),I.output=j.output,I.globstar=!0,U(W);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!o&&q()){I.output=I.output.slice(0,-(n.output+j.output).length),n.output=`(?:${n.output}`,j.type="globstar",j.output=L(r)+(r.strictSlashes?")":"|$)"),j.value+=W,I.globstar=!0,I.output+=n.output+j.output,U(W);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";I.output=I.output.slice(0,-(n.output+j.output).length),n.output=`(?:${n.output}`,j.type="globstar",j.output=`${L(r)}${A}|${A}${e})`,j.value+=W,I.output+=n.output+j.output,I.globstar=!0,U(W+$()),Y({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){j.type="globstar",j.value+=W,j.output=`(?:^|${A}|${L(r)}${A})`,I.output=j.output,I.globstar=!0,U(W+$()),Y({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-j.output.length),j.type="globstar",j.output=L(r),j.value+=W,I.output+=j.output,I.globstar=!0,U(W);continue}const n={type:"star",value:W,output:M};!0!==r.bash?!j||"bracket"!==j.type&&"paren"!==j.type||!0!==r.regex?(I.index!==I.start&&"slash"!==j.type&&"dot"!==j.type||("dot"===j.type?(I.output+=O,j.output+=O):!0===r.dot?(I.output+=N,j.output+=N):(I.output+=D,j.output+=D),"*"!==H()&&(I.output+=E,j.output+=E)),Y(n)):(n.output=W,Y(n)):(n.output=".*?","bos"!==j.type&&"slash"!==j.type||(n.output=D+n.output),Y(n))}for(;I.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(l("closing","]"));I.output=i.escapeLast(I.output,"["),Z("brackets")}for(;I.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(l("closing",")"));I.output=i.escapeLast(I.output,"("),Z("parens")}for(;I.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(l("closing","}"));I.output=i.escapeLast(I.output,"{"),Z("braces")}if(!0===r.strictSlashes||"star"!==j.type&&"bracket"!==j.type||Y({type:"maybe_slash",value:"",output:`${A}?`}),!0===I.backtrack){I.output="";for(const e of I.tokens)I.output+=null!=e.output?e.output:e.value,e.suffix&&(I.output+=e.suffix)}return I};f.fastpaths=(e,t)=>{const r={...t},o="number"==typeof r.maxLength?Math.min(s,r.maxLength):s,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=u[e]||e;const c=i.isWindows(t),{DOT_LITERAL:p,SLASH_LITERAL:l,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:h,NO_DOTS:d,NO_DOTS_SLASH:_,STAR:g,START_ANCHOR:y}=n.globChars(c),R=r.dot?d:h,b=r.dot?_:h,v=r.capture?"":"?:";let A=!0===r.bash?".*?":g;r.capture&&(A=`(${A})`);const E=e=>!0===e.noglobstar?A:`(${v}(?:(?!${y}${e.dot?m:p}).)*?)`,T=e=>{switch(e){case"*":return`${R}${f}${A}`;case".*":return`${p}${f}${A}`;case"*.*":return`${R}${A}${p}${f}${A}`;case"*/*":return`${R}${A}${l}${f}${b}${A}`;case"**":return R+E(r);case"**/*":return`(?:${R}${E(r)}${l})?${b}${f}${A}`;case"**/*.*":return`(?:${R}${E(r)}${l})?${b}${A}${p}${f}${A}`;case"**/.*":return`(?:${R}${E(r)}${l})?${p}${f}${A}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=T(t[1]);if(!r)return;return r+p+t[2]}}},x=i.removePrefix(e,{negated:!1,prefix:""});let O=T(x);return O&&!0!==r.strictSlashes&&(O+=`${l}?`),O},e.exports=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(96);function i(e){e.forEach(e=>e.emit("close"))}t.merge=function(e){const t=n(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t.once("close",()=>i(e)),t.once("end",()=>i(e)),t}},function(e,t,r){"use strict";const n=r(97).PassThrough,i=Array.prototype.slice;function s(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)e[r]=s(e[r],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(n(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[];let t=!1;const r=i.call(arguments);let o=r[r.length-1];o&&!Array.isArray(o)&&null==o.pipe?r.pop():o={};const a=!1!==o.end;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const c=n(o);function u(){for(let t=0,r=arguments.length;t<r;t++)e.push(s(arguments[t],o));return function r(){if(t)return;t=!0;let n=e.shift();if(!n)return void process.nextTick(p);Array.isArray(n)||(n=[n]);let i=n.length+1;function s(){--i>0||(t=!1,r())}function o(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),s()}if(e._readableState.endEmitted)return s();e.on("merge2UnpipeEnd",t),e.on("end",t),e.pipe(c,{end:!1}),e.resume()}for(let e=0;e<n.length;e++)o(n[e]);s()}(),this}function p(){return t=!1,c.emit("queueDrain"),a&&c.end()}c.setMaxListeners(0),c.add=u,c.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),r.length&&u.apply(null,r);return c}},function(e,t){e.exports=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(100),i=r(127);class s extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),n=[];return new Promise((i,s)=>{const o=this.api(t,e,r);o.once("error",s),o.on("data",e=>n.push(r.transform(e))),o.once("end",()=>i(n))})}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97),i=r(101),s=r(106),o=r(126);class a extends o.default{constructor(){super(...arguments),this._walkStream=s.walkStream,this._stat=i.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const r=e.map(this._getFullEntryPath,this),i=new n.PassThrough({objectMode:!0});i._write=(n,s,o)=>this._getEntry(r[n],e[n],t).then(e=>{null!==e&&t.entryFilter(e)&&i.push(e),n===r.length-1&&i.end(),o()}).catch(o);for(let e=0;e<r.length;e++)i.write(e);return i}_getEntry(e,t,r){return this._getStat(e).then(e=>this._makeEntry(e,t)).catch(e=>{if(r.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,r)=>{this._stat(e,this._fsStatSettings,(e,n)=>null===e?t(n):r(e))})}}t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(102),i=r(103),s=r(104);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.stat=function(e,t,r){if("function"==typeof t)return n.read(e,o(),t);n.read(e,o(t),r)},t.statSync=function(e,t){const r=o(t);return i.read(e,r)}},function(e,t,r){"use strict";function n(e,t){e(t)}function i(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=function(e,t,r){t.fs.lstat(e,(s,o)=>null!==s?n(r,s):o.isSymbolicLink()&&t.followSymbolicLink?void t.fs.stat(e,(e,s)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?n(r,e):i(r,o);t.markSymbolicLink&&(s.isSymbolicLink=()=>!0),i(r,s)}):i(r,o))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=function(e,t){const r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{const r=t.fs.statSync(e);return t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),r}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(105);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=n.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return void 0===e?t:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(40);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(107),i=r(122),s=r(123),o=r(125);function a(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.walk=function(e,t,r){if("function"==typeof t)return new n.default(e,a()).read(t);new n.default(e,a(t)).read(r)},t.walkSync=function(e,t){const r=a(t);return new s.default(e,r).read()},t.walkStream=function(e,t){const r=a(t);return new i.default(e,r).read()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(108);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings),this._storage=new Set}read(e){this._reader.onError(t=>{!function(e,t){e(t)}(e,t)}),this._reader.onEntry(e=>{this._storage.add(e)}),this._reader.onEnd(()=>{!function(e,t){e(null,t)}(e,[...this._storage])}),this._reader.read()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(52),i=r(109),s=r(118),o=r(120),a=r(121);class c extends a.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=i.scandir,this._emitter=new n.EventEmitter,this._queue=s(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const r={directory:e,base:t};this._queue.push(r,e=>{null!==e&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(r,n)=>{if(null!==r)return t(r,void 0);for(const t of n)this._handleEntry(t,e.base);t(null,void 0)})}_handleError(e){o.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const r=e.path;void 0!==t&&(e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),o.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(110),i=r(115),s=r(116);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.scandir=function(e,t,r){if("function"==typeof t)return n.read(e,o(),t);n.read(e,o(t),r)},t.scandirSync=function(e,t){const r=o(t);return i.read(e,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(101),i=r(111),s=r(112),o=r(113);function a(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,s)=>{if(null!==n)return u(r,n);const a=s.map(r=>({dirent:r,name:r.name,path:`${e}${t.pathSegmentSeparator}${r.name}`}));if(!t.followSymbolicLinks)return p(r,a);const c=a.map(e=>(function(e,t){return r=>{if(!e.dirent.isSymbolicLink())return r(null,e);t.fs.stat(e.path,(n,i)=>null!==n?t.throwErrorOnBrokenSymbolicLink?r(n):r(null,e):(e.dirent=o.fs.createDirentFromStats(e.name,i),r(null,e)))}})(e,t));i(c,(e,t)=>{if(null!==e)return u(r,e);p(r,t)})})}function c(e,t,r){t.fs.readdir(e,(s,a)=>{if(null!==s)return u(r,s);const c=a.map(r=>`${e}${t.pathSegmentSeparator}${r}`),l=c.map(e=>r=>n.stat(e,t.fsStatSettings,r));i(l,(e,n)=>{if(null!==e)return u(r,e);const i=[];a.forEach((e,r)=>{const s=n[r],a={name:e,path:c[r],dirent:o.fs.createDirentFromStats(e,s)};t.stats&&(a.stats=s),i.push(a)}),p(r,i)})})}function u(e,t){e(t)}function p(e,t){e(null,t)}t.read=function(e,t,r){return!t.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(e,t,r):c(e,t,r)},t.readdirWithFileTypes=a,t.readdir=c},function(e,t){e.exports=function(e,t){var r,n,i,s=!0;Array.isArray(e)?(r=[],n=e.length):(i=Object.keys(e),r={},n=i.length);function o(e){function n(){t&&t(e,r),t=null}s?process.nextTick(n):n()}function a(e,t,i){r[e]=i,(0==--n||t)&&o(t)}n?i?i.forEach((function(t){e[t]((function(e,r){a(t,e,r)}))})):e.forEach((function(e,t){e((function(e,r){a(t,e,r)}))})):o(null);s=!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=process.versions.node.split("."),i=parseInt(n[0],10),s=parseInt(n[1],10),o=i>10,a=10===i&&s>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=o||a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(114);t.fs=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(101),i=r(112),s=r(113);function o(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(r=>{const n={dirent:r,name:r.name,path:`${e}${t.pathSegmentSeparator}${r.name}`};if(n.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(n.path);n.dirent=s.fs.createDirentFromStats(n.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return n})}function a(e,t){return t.fs.readdirSync(e).map(r=>{const i=`${e}${t.pathSegmentSeparator}${r}`,o=n.statSync(i,t.fsStatSettings),a={name:r,path:i,dirent:s.fs.createDirentFromStats(r,o)};return t.stats&&(a.stats=o),a})}t.read=function(e,t){return!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(e,t):a(e,t)},t.readdirWithFileTypes=o,t.readdir=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(101),s=r(117);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=s.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new i.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return void 0===e?t:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(40);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},function(e,t,r){"use strict";var n=r(119);function i(){}function s(){this.value=null,this.callback=i,this.next=null,this.release=i,this.context=null;var e=this;this.worked=function(t,r){var n=e.callback;e.value=null,e.callback=i,n.call(e.context,t,r),e.release(e)}}e.exports=function(e,t,r){"function"==typeof e&&(r=t,t=e,e=null);var o=n(s),a=null,c=null,u=0,p={push:function(r,n){var s=o.get();s.context=e,s.release=l,s.value=r,s.callback=n||i,u===p.concurrency||p.paused?c?(c.next=s,c=s):(a=s,c=s,p.saturated()):(u++,t.call(e,s.value,s.worked))},drain:i,saturated:i,pause:function(){p.paused=!0},paused:!1,concurrency:r,running:function(){return u},resume:function(){if(!p.paused)return;p.paused=!1;for(var e=0;e<p.concurrency;e++)u++,l()},idle:function(){return 0===u&&0===p.length()},length:function(){var e=a,t=0;for(;e;)e=e.next,t++;return t},unshift:function(r,n){var s=o.get();s.context=e,s.release=l,s.value=r,s.callback=n||i,u===p.concurrency||p.paused?a?(s.next=a,a=s):(a=s,c=s,p.saturated()):(u++,t.call(e,s.value,s.worked))},empty:i,kill:function(){a=null,c=null,p.drain=i},killAndDrain:function(){a=null,c=null,p.drain(),p.drain=i}};return p;function l(r){r&&o.release(r);var n=a;n?p.paused?u--:(c===a&&(c=null),a=n.next,n.next=null,t.call(e,n.value,n.worked),null===c&&p.empty()):0==--u&&p.drain()}}},function(e,t,r){"use strict";e.exports=function(e){var t=new e,r=t;return{get:function(){var n=t;return n.next?t=n.next:(t=new e,r=t),n.next=null,n},release:function(e){r.next=e,r=e}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[\\/]/).join(t)},t.joinPathSegments=function(e,t,r){return""===e?t:e+r+t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(120);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=n.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97),i=r(108);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new i.default(this._root,this._settings),this._stream=new n.Readable({objectMode:!0,read:()=>{},destroy:this._reader.destroy.bind(this._reader)})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(124);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings)}read(){return this._reader.read()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(109),i=r(120),s=r(121);class o extends s.default{constructor(){super(...arguments),this._scandir=n.scandirSync,this._storage=new Set,this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),[...this._storage]}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const r=this._scandir(e,this._settings.fsScandirSettings);for(const e of r)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(i.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const r=e.path;void 0!==t&&(e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,e.path)}_pushToStorage(e){this._storage.add(e)}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(109);t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.fsScandirSettings=new i.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return void 0===e?t:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(101),s=r(63);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new i.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return n.resolve(this._settings.cwd,e)}_makeEntry(e,t){const r={name:t,path:t,dirent:s.fs.createDirentFromStats(t,e)};return this._settings.stats&&(r.stats=e),r}_isFatalError(e){return!s.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(13),i=r(128),s=r(131),o=r(132),a=r(133);t.default=class{constructor(e){this._settings=e,this.errorFilter=new o.default(this._settings),this.entryFilter=new s.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return n.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63),i=r(129);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,r){const n=this._getMatcher(t),i=this._getNegativePatternsRe(r);return t=>this._filter(e,t,n,i)}_getMatcher(e){return new i.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(n.pattern.isAffectDepthOfReadingPattern);return n.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,r,i){const s=this._getEntryLevel(e,t.path);if(this._isSkippedByDeep(s))return!1;if(this._isSkippedSymbolicLink(t))return!1;const o=n.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(o,r)&&this._isSkippedByNegativePatterns(o,i)}_isSkippedByDeep(e){return e>=this._settings.deep}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_getEntryLevel(e,t){const r=e.split("/").length;return t.split("/").length-(""===e?0:r)}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!n.pattern.matchAny(e,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(130);class i extends n.default{match(e){const t=e.split("/"),r=t.length,n=this._storage.filter(e=>!e.complete||e.segments.length>r);for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length)return!0;if(t.every((t,r)=>{const n=e.segments[r];return!(!n.dynamic||!n.patternRe.test(t))||!n.dynamic&&n.pattern===t}))return!0}return!1}}t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63);t.default=class{constructor(e,t,r){this._patterns=e,this._settings=t,this._micromatchOptions=r,this._storage=[],this._fillStorage()}_fillStorage(){const e=n.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),r=this._splitSegmentsIntoSections(e);this._storage.push({complete:r.length<=1,pattern:t,segments:e,sections:r})}}_getPatternSegments(e){return n.pattern.getPatternParts(e,this._micromatchOptions).map(e=>{return n.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:n.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}})}_splitSegmentsIntoSections(e){return n.array.splitWhen(e,e=>e.dynamic&&n.pattern.hasGlobStar(e.pattern))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const r=n.pattern.convertPatternsToRe(e,this._micromatchOptions),i=n.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,r,i)}_filter(e,t,r){if(this._settings.unique){if(this._isDuplicateEntry(e))return!1;this._createIndexRecord(e)}if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e,r))return!1;const n=this._settings.baseNameMatch?e.name:e.path;return this._isMatchToPatterns(n,t)&&!this._isMatchToPatterns(e.path,r)}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const r=n.path.makeAbsolute(this._settings.cwd,e.path);return this._isMatchToPatterns(r,t)}_isMatchToPatterns(e,t){const r=n.path.removeLeadingDotSegment(e);return n.pattern.matchAny(r,t)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return n.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(63);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=n.path.makeAbsolute(this._settings.cwd,t),t=n.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97),i=r(100),s=r(127);class o extends s.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),i=this.api(t,e,r),s=new n.Readable({objectMode:!0,read:()=>{}});return i.once("error",e=>s.emit("error",e)).on("data",e=>s.emit("data",r.transform(e))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(136),i=r(127);class s extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e);return this.api(t,e,r).map(r.transform)}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(101),i=r(106),s=r(126);class o extends s.default{constructor(){super(...arguments),this._walkSync=i.walkSync,this._statSync=n.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const r=[];for(const n of e){const e=this._getFullEntryPath(n),i=this._getEntry(e,n,t);null!==i&&t.entryFilter(i)&&r.push(i)}return r}_getEntry(e,t,r){try{const r=this._getStat(e);return this._makeEntry(r,t)}catch(e){if(r.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(40),i=r(14).cpus().length;t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},,,,,,,,,,,,function(e,t,r){"use strict";r.r(t),r.d(t,"URI",(function(){return h}));var n,i,s,o=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});if("object"==typeof process)s="win32"===process.platform;else if("object"==typeof navigator){var a=navigator.userAgent;s=a.indexOf("Windows")>=0}var c=/^\w[\w\d+.-]*$/,u=/^\//,p=/^\/\//;var l="",f="/",m=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,h=function(){function e(e,t,r,n,i,s){void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||l,this.authority=e.authority||l,this.path=e.path||l,this.query=e.query||l,this.fragment=e.fragment||l):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||l,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,r||l),this.query=n||l,this.fragment=i||l,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!c.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!u.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(p.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&("string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,r=e.authority,n=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=l),void 0===r?r=this.authority:null===r&&(r=l),void 0===n?n=this.path:null===n&&(n=l),void 0===i?i=this.query:null===i&&(i=l),void 0===s?s=this.fragment:null===s&&(s=l),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&s===this.fragment?this:new _(t,r,n,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var r=m.exec(e);return r?new _(r[2]||l,decodeURIComponent(r[4]||l),decodeURIComponent(r[5]||l),decodeURIComponent(r[7]||l),decodeURIComponent(r[9]||l),t):new _(l,l,l,l,l)},e.file=function(e){var t=l;if(s&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var r=e.indexOf(f,2);-1===r?(t=e.substring(2),e=f):(t=e.substring(2,r),e=e.substring(r)||f)}return new _("file",t,e,l,l)},e.from=function(e){return new _(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var r=new _(t);return r._formatted=t.external,r._fsPath=t._sep===d?t.fsPath:null,r}return t},e}(),d=s?1:void 0,_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return o(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(h),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function y(e,t){for(var r=void 0,n=-1,i=0;i<e.length;i++){var s=e.charCodeAt(i);if(s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),void 0!==r&&(r+=e.charAt(i));else{void 0===r&&(r=e.substr(0,i));var o=g[s];void 0!==o?(-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=o):-1===n&&(n=i)}}return-1!==n&&(r+=encodeURIComponent(e.substring(n))),void 0!==r?r:e}function R(e){for(var t=void 0,r=0;r<e.length;r++){var n=e.charCodeAt(r);35===n||63===n?(void 0===t&&(t=e.substr(0,r)),t+=g[n]):void 0!==t&&(t+=e[r])}return void 0!==t?t:e}function b(e){var t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,s&&(t=t.replace(/\//g,"\\")),t}function v(e,t){var r=t?R:y,n="",i=e.scheme,s=e.authority,o=e.path,a=e.query,c=e.fragment;if(i&&(n+=i,n+=":"),(s||"file"===i)&&(n+=f,n+=f),s){var u=s.indexOf("@");if(-1!==u){var p=s.substr(0,u);s=s.substr(u+1),-1===(u=p.indexOf(":"))?n+=r(p,!1):(n+=r(p.substr(0,u),!1),n+=":",n+=r(p.substr(u+1),!1)),n+="@"}-1===(u=(s=s.toLowerCase()).indexOf(":"))?n+=r(s,!1):(n+=r(s.substr(0,u),!1),n+=s.substr(u))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(l=o.charCodeAt(1))>=65&&l<=90&&(o="/"+String.fromCharCode(l+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var l;(l=o.charCodeAt(0))>=65&&l<=90&&(o=String.fromCharCode(l+32)+":"+o.substr(2))}n+=r(o,!0)}return a&&(n+="?",n+=r(a,!1)),c&&(n+="#",n+=t?c:y(c,!1)),n}},,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(167);r.d(t,"Observable",(function(){return n.Observable}));var i=r(184);r.d(t,"ConnectableObservable",(function(){return i.ConnectableObservable}));var s=r(189);r.d(t,"GroupedObservable",(function(){return s.GroupedObservable}));var o=r(181);r.d(t,"observable",(function(){return o.observable}));var a=r(185);r.d(t,"Subject",(function(){return a.Subject}));var c=r(190);r.d(t,"BehaviorSubject",(function(){return c.BehaviorSubject}));var u=r(191);r.d(t,"ReplaySubject",(function(){return u.ReplaySubject}));var p=r(208);r.d(t,"AsyncSubject",(function(){return p.AsyncSubject}));var l=r(209);r.d(t,"asapScheduler",(function(){return l.asap}));var f=r(213);r.d(t,"asyncScheduler",(function(){return f.async}));var m=r(192);r.d(t,"queueScheduler",(function(){return m.queue}));var h=r(214);r.d(t,"animationFrameScheduler",(function(){return h.animationFrame}));var d=r(217);r.d(t,"VirtualTimeScheduler",(function(){return d.VirtualTimeScheduler})),r.d(t,"VirtualAction",(function(){return d.VirtualAction}));var _=r(198);r.d(t,"Scheduler",(function(){return _.Scheduler}));var g=r(175);r.d(t,"Subscription",(function(){return g.Subscription}));var y=r(169);r.d(t,"Subscriber",(function(){return y.Subscriber}));var R=r(200);r.d(t,"Notification",(function(){return R.Notification})),r.d(t,"NotificationKind",(function(){return R.NotificationKind}));var b=r(182);r.d(t,"pipe",(function(){return b.pipe}));var v=r(218);r.d(t,"noop",(function(){return v.noop}));var A=r(183);r.d(t,"identity",(function(){return A.identity}));var E=r(219);r.d(t,"isObservable",(function(){return E.isObservable}));var T=r(220);r.d(t,"ArgumentOutOfRangeError",(function(){return T.ArgumentOutOfRangeError}));var x=r(221);r.d(t,"EmptyError",(function(){return x.EmptyError}));var O=r(186);r.d(t,"ObjectUnsubscribedError",(function(){return O.ObjectUnsubscribedError}));var N=r(178);r.d(t,"UnsubscriptionError",(function(){return N.UnsubscriptionError}));var w=r(222);r.d(t,"TimeoutError",(function(){return w.TimeoutError}));var C=r(223);r.d(t,"bindCallback",(function(){return C.bindCallback}));var S=r(225);r.d(t,"bindNodeCallback",(function(){return S.bindNodeCallback}));var k=r(226);r.d(t,"combineLatest",(function(){return k.combineLatest}));var L=r(237);r.d(t,"concat",(function(){return L.concat}));var D=r(248);r.d(t,"defer",(function(){return D.defer}));var G=r(201);r.d(t,"empty",(function(){return G.empty}));var M=r(249);r.d(t,"forkJoin",(function(){return M.forkJoin}));var I=r(241);r.d(t,"from",(function(){return I.from}));var F=r(250);r.d(t,"fromEvent",(function(){return F.fromEvent}));var B=r(251);r.d(t,"fromEventPattern",(function(){return B.fromEventPattern}));var P=r(252);r.d(t,"generate",(function(){return P.generate}));var W=r(253);r.d(t,"iif",(function(){return W.iif}));var j=r(254);r.d(t,"interval",(function(){return j.interval}));var q=r(256);r.d(t,"merge",(function(){return q.merge}));var H=r(257);r.d(t,"never",(function(){return H.never}));var $=r(202);r.d(t,"of",(function(){return $.of}));var X=r(258);r.d(t,"onErrorResumeNext",(function(){return X.onErrorResumeNext}));var U=r(259);r.d(t,"pairs",(function(){return U.pairs}));var V=r(260);r.d(t,"partition",(function(){return V.partition}));var z=r(263);r.d(t,"race",(function(){return z.race}));var K=r(264);r.d(t,"range",(function(){return K.range}));var Z=r(207);r.d(t,"throwError",(function(){return Z.throwError}));var Y=r(265);r.d(t,"timer",(function(){return Y.timer}));var Q=r(266);r.d(t,"using",(function(){return Q.using}));var J=r(267);r.d(t,"zip",(function(){return J.zip}));var ee=r(242);r.d(t,"scheduled",(function(){return ee.scheduled})),r.d(t,"EMPTY",(function(){return G.EMPTY})),r.d(t,"NEVER",(function(){return H.NEVER}));var te=r(173);r.d(t,"config",(function(){return te.config}))},function(e,t,r){"use strict";r.r(t),r.d(t,"Observable",(function(){return c}));var n=r(168),i=r(180),s=r(181),o=r(182),a=r(173),c=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,s=Object(i.toSubscriber)(e,t,r);if(n?s.add(n.call(s,this.source)):s.add(this.source||a.config.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),a.config.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){a.config.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(n.canReportError)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=u(t))((function(t,n){var i;i=r.subscribe((function(t){try{e(t)}catch(e){n(e),i&&i.unsubscribe()}}),n,t)}))},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[s.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:Object(o.pipeFromArray)(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=u(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function u(e){if(e||(e=a.config.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},function(e,t,r){"use strict";r.r(t),r.d(t,"canReportError",(function(){return i}));var n=r(169);function i(e){for(;e;){var t=e,r=t.closed,i=t.destination,s=t.isStopped;if(r||s)return!1;e=i&&i instanceof n.Subscriber?i:null}return!0}},function(e,t,r){"use strict";r.r(t),r.d(t,"Subscriber",(function(){return p})),r.d(t,"SafeSubscriber",(function(){return l}));var n=r(170),i=r(171),s=r(172),o=r(175),a=r(179),c=r(173),u=r(174),p=function(e){function t(r,n,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s.empty;break;case 1:if(!r){o.destination=s.empty;break}if("object"==typeof r){r instanceof t?(o.syncErrorThrowable=r.syncErrorThrowable,o.destination=r,r.add(o)):(o.syncErrorThrowable=!0,o.destination=new l(o,r));break}default:o.syncErrorThrowable=!0,o.destination=new l(o,r,n,i)}return o}return n.__extends(t,e),t.prototype[a.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(o.Subscription),l=function(e){function t(t,r,n,o){var a,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return Object(i.isFunction)(r)?a=r:r&&(a=r.next,n=r.error,o=r.complete,r!==s.empty&&(u=Object.create(r),Object(i.isFunction)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=a,c._error=n,c._complete=o,c}return n.__extends(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,r=c.config.useDeprecatedSynchronousErrorHandling;if(this._error)r&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)r?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.hostReportError)(e),this.unsubscribe();else{if(this.unsubscribe(),r)throw e;Object(u.hostReportError)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var r=function(){return e._complete.call(e._context)};c.config.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,r),this.unsubscribe()):(this.__tryOrUnsub(r),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),c.config.useDeprecatedSynchronousErrorHandling)throw e;Object(u.hostReportError)(e)}},t.prototype.__tryOrSetError=function(e,t,r){if(!c.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,r)}catch(t){return c.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(u.hostReportError)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(p)},function(e,t,r){"use strict";r.r(t),r.d(t,"__extends",(function(){return i})),r.d(t,"__assign",(function(){return s})),r.d(t,"__rest",(function(){return o})),r.d(t,"__decorate",(function(){return a})),r.d(t,"__param",(function(){return c})),r.d(t,"__metadata",(function(){return u})),r.d(t,"__awaiter",(function(){return p})),r.d(t,"__generator",(function(){return l})),r.d(t,"__exportStar",(function(){return f})),r.d(t,"__values",(function(){return m})),r.d(t,"__read",(function(){return h})),r.d(t,"__spread",(function(){return d})),r.d(t,"__spreadArrays",(function(){return _})),r.d(t,"__await",(function(){return g})),r.d(t,"__asyncGenerator",(function(){return y})),r.d(t,"__asyncDelegator",(function(){return R})),r.d(t,"__asyncValues",(function(){return b})),r.d(t,"__makeTemplateObject",(function(){return v})),r.d(t,"__importStar",(function(){return A})),r.d(t,"__importDefault",(function(){return E}));
  35. /*! *****************************************************************************
  36. Copyright (c) Microsoft Corporation. All rights reserved.
  37. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  38. this file except in compliance with the License. You may obtain a copy of the
  39. License at http://www.apache.org/licenses/LICENSE-2.0
  40. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  41. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  42. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  43. MERCHANTABLITY OR NON-INFRINGEMENT.
  44. See the Apache Version 2.0 License for specific language governing permissions
  45. and limitations under the License.
  46. ***************************************************************************** */
  47. var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function a(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,r,n){return new(r||(r=Promise))((function(i,s){function o(e){try{c(n.next(e))}catch(e){s(e)}}function a(e){try{c(n.throw(e))}catch(e){s(e)}}function c(e){e.done?i(e.value):new r((function(t){t(e.value)})).then(o,a)}c((n=n.apply(e,t||[])).next())}))}function l(e,t){var r,n,i,s,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(s){return function(a){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,a])}}}function f(e,t){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}function m(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function h(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function _(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var s=arguments[t],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function y(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n;function o(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){s.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=i[e](t)).value instanceof g?Promise.resolve(r.value.v).then(c,u):p(s[0][2],r)}catch(e){p(s[0][3],e)}var r}function c(e){a("next",e)}function u(e){a("throw",e)}function p(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function R(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:g(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=m(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,i,(t=e[r](t)).done,t.value)}))}}}function v(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(e){return"function"==typeof e}r.r(t),r.d(t,"isFunction",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"empty",(function(){return s}));var n=r(173),i=r(174),s={closed:!0,next:function(e){},error:function(e){if(n.config.useDeprecatedSynchronousErrorHandling)throw e;Object(i.hostReportError)(e)},complete:function(){}}},function(e,t,r){"use strict";r.r(t),r.d(t,"config",(function(){return i}));var n=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},function(e,t,r){"use strict";function n(e){setTimeout((function(){throw e}),0)}r.r(t),r.d(t,"hostReportError",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"Subscription",(function(){return a}));var n=r(176),i=r(177),s=r(171),o=r(178),a=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var r=this._parentOrParents,a=this._unsubscribe,u=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,r instanceof e)r.remove(this);else if(null!==r)for(var p=0;p<r.length;++p){r[p].remove(this)}if(Object(s.isFunction)(a))try{a.call(this)}catch(e){t=e instanceof o.UnsubscriptionError?c(e.errors):[e]}if(Object(n.isArray)(u)){p=-1;for(var l=u.length;++p<l;){var f=u[p];if(Object(i.isObject)(f))try{f.unsubscribe()}catch(e){t=t||[],e instanceof o.UnsubscriptionError?t=t.concat(c(e.errors)):t.push(e)}}}if(t)throw new o.UnsubscriptionError(t)}},e.prototype.add=function(t){var r=t;if(!t)return e.EMPTY;switch(typeof t){case"function":r=new e(t);case"object":if(r===this||r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if(!(r instanceof e)){var n=r;(r=new e)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=r._parentOrParents;if(null===i)r._parentOrParents=this;else if(i instanceof e){if(i===this)return r;r._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return r;i.push(this)}var s=this._subscriptions;return null===s?this._subscriptions=[r]:s.push(r),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function c(e){return e.reduce((function(e,t){return e.concat(t instanceof o.UnsubscriptionError?t.errors:t)}),[])}},function(e,t,r){"use strict";r.r(t),r.d(t,"isArray",(function(){return n}));var n=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.r(t),r.d(t,"isObject",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"UnsubscriptionError",(function(){return n}));var n=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"rxSubscriber",(function(){return n})),r.d(t,"$$rxSubscriber",(function(){return i}));var n=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}(),i=n},function(e,t,r){"use strict";r.r(t),r.d(t,"toSubscriber",(function(){return o}));var n=r(169),i=r(179),s=r(172);function o(e,t,r){if(e){if(e instanceof n.Subscriber)return e;if(e[i.rxSubscriber])return e[i.rxSubscriber]()}return e||t||r?new n.Subscriber(e,t,r):new n.Subscriber(s.empty)}},function(e,t,r){"use strict";r.r(t),r.d(t,"observable",(function(){return n}));var n=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},function(e,t,r){"use strict";r.r(t),r.d(t,"pipe",(function(){return i})),r.d(t,"pipeFromArray",(function(){return s}));var n=r(183);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}},function(e,t,r){"use strict";function n(e){return e}r.r(t),r.d(t,"identity",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"ConnectableObservable",(function(){return u})),r.d(t,"connectableObservableDescriptor",(function(){return p}));var n=r(170),i=r(185),s=r(167),o=r(169),a=r(175),c=r(188),u=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._refCount=0,n._isComplete=!1,n}return n.__extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new a.Subscription).add(this.source.subscribe(new l(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.Subscription.EMPTY)),e},t.prototype.refCount=function(){return Object(c.refCount)()(this)},t}(s.Observable),p=function(){var e=u.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.SubjectSubscriber);o.Subscriber},function(e,t,r){"use strict";r.r(t),r.d(t,"SubjectSubscriber",(function(){return p})),r.d(t,"Subject",(function(){return l})),r.d(t,"AnonymousSubject",(function(){return f}));var n=r(170),i=r(167),s=r(169),o=r(175),a=r(186),c=r(187),u=r(179),p=function(e){function t(t){var r=e.call(this,t)||this;return r.destination=t,r}return n.__extends(t,e),t}(s.Subscriber),l=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return n.__extends(t,e),t.prototype[u.rxSubscriber]=function(){return new p(this)},t.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),o.Subscription.EMPTY):this.isStopped?(e.complete(),o.Subscription.EMPTY):(this.observers.push(e),new c.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new i.Observable;return e.source=this,e},t.create=function(e,t){return new f(e,t)},t}(i.Observable),f=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return n.__extends(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):o.Subscription.EMPTY},t}(l)},function(e,t,r){"use strict";r.r(t),r.d(t,"ObjectUnsubscribedError",(function(){return n}));var n=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"SubjectSubscription",(function(){return i}));var n=r(170),i=function(e){function t(t,r){var n=e.call(this)||this;return n.subject=t,n.subscriber=r,n.closed=!1,n}return n.__extends(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(r(175).Subscription)},function(e,t,r){"use strict";r.r(t),r.d(t,"refCount",(function(){return s}));var n=r(170),i=r(169);function s(){return function(e){return e.lift(new o(e))}}var o=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new a(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.connectable=r,n}return n.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()}}else this.connection=null},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"groupBy",(function(){return c})),r.d(t,"GroupedObservable",(function(){return f}));var n=r(170),i=r(169),s=r(175),o=r(167),a=r(185);function c(e,t,r,n){return function(i){return i.lift(new u(e,t,r,n))}}var u=function(){function e(e,t,r,n){this.keySelector=e,this.elementSelector=t,this.durationSelector=r,this.subjectSelector=n}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},e}(),p=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;return o.keySelector=r,o.elementSelector=n,o.durationSelector=i,o.subjectSelector=s,o.groups=null,o.attemptedToUnsubscribe=!1,o.count=0,o}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.keySelector(e)}catch(e){return void this.error(e)}this._group(e,t)},t.prototype._group=function(e,t){var r=this.groups;r||(r=this.groups=new Map);var n,i=r.get(t);if(this.elementSelector)try{n=this.elementSelector(e)}catch(e){this.error(e)}else n=e;if(!i){i=this.subjectSelector?this.subjectSelector():new a.Subject,r.set(t,i);var s=new f(t,i,this);if(this.destination.next(s),this.durationSelector){var o=void 0;try{o=this.durationSelector(new f(t,i))}catch(e){return void this.error(e)}this.add(o.subscribe(new l(t,i,this)))}}i.closed||i.next(n)},t.prototype._error=function(e){var t=this.groups;t&&(t.forEach((function(t,r){t.error(e)})),t.clear()),this.destination.error(e)},t.prototype._complete=function(){var e=this.groups;e&&(e.forEach((function(e,t){e.complete()})),e.clear()),this.destination.complete()},t.prototype.removeGroup=function(e){this.groups.delete(e)},t.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&e.prototype.unsubscribe.call(this))},t}(i.Subscriber),l=function(e){function t(t,r,n){var i=e.call(this,r)||this;return i.key=t,i.group=r,i.parent=n,i}return n.__extends(t,e),t.prototype._next=function(e){this.complete()},t.prototype._unsubscribe=function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)},t}(i.Subscriber),f=function(e){function t(t,r,n){var i=e.call(this)||this;return i.key=t,i.groupSubject=r,i.refCountSubscription=n,i}return n.__extends(t,e),t.prototype._subscribe=function(e){var t=new s.Subscription,r=this.refCountSubscription,n=this.groupSubject;return r&&!r.closed&&t.add(new m(r)),t.add(n.subscribe(e)),t},t}(o.Observable),m=function(e){function t(t){var r=e.call(this)||this;return r.parent=t,t.count++,r}return n.__extends(t,e),t.prototype.unsubscribe=function(){var t=this.parent;t.closed||this.closed||(e.prototype.unsubscribe.call(this),t.count-=1,0===t.count&&t.attemptedToUnsubscribe&&t.unsubscribe())},t}(s.Subscription)},function(e,t,r){"use strict";r.r(t),r.d(t,"BehaviorSubject",(function(){return o}));var n=r(170),i=r(185),s=r(186),o=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return n.__extends(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r&&!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new s.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(i.Subject)},function(e,t,r){"use strict";r.r(t),r.d(t,"ReplaySubject",(function(){return p}));var n=r(170),i=r(185),s=r(192),o=r(175),a=r(199),c=r(186),u=r(187),p=function(e){function t(t,r,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this)||this;return i.scheduler=n,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=t<1?1:t,i._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return n.__extends(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var r=this._events;r.push(t),r.length>this._bufferSize&&r.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new l(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,r=this._infiniteTimeWindow,n=r?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;if(this.closed)throw new c.ObjectUnsubscribedError;if(this.isStopped||this.hasError?t=o.Subscription.EMPTY:(this.observers.push(e),t=new u.SubjectSubscription(this,e)),i&&e.add(e=new a.ObserveOnSubscriber(e,i)),r)for(var p=0;p<s&&!e.closed;p++)e.next(n[p]);else for(p=0;p<s&&!e.closed;p++)e.next(n[p].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t},t.prototype._getNow=function(){return(this.scheduler||s.queue).now()},t.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),t=this._bufferSize,r=this._windowTime,n=this._events,i=n.length,s=0;s<i&&!(e-n[s].time<r);)s++;return i>t&&(s=Math.max(s,i-t)),s>0&&n.splice(0,s),n},t}(i.Subject),l=function(){return function(e,t){this.time=e,this.value=t}}()},function(e,t,r){"use strict";r.r(t),r.d(t,"queue",(function(){return i}));var n=r(193),i=new(r(196).QueueScheduler)(n.QueueAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"QueueAction",(function(){return i}));var n=r(170),i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n.__extends(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(r(194).AsyncAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"AsyncAction",(function(){return i}));var n=r(170),i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return n.__extends(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(r(195).Action)},function(e,t,r){"use strict";r.r(t),r.d(t,"Action",(function(){return i}));var n=r(170),i=function(e){function t(t,r){return e.call(this)||this}return n.__extends(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(175).Subscription)},function(e,t,r){"use strict";r.r(t),r.d(t,"QueueScheduler",(function(){return i}));var n=r(170),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t}(r(197).AsyncScheduler)},function(e,t,r){"use strict";r.r(t),r.d(t,"AsyncScheduler",(function(){return s}));var n=r(170),i=r(198),s=function(e){function t(r,n){void 0===n&&(n=i.Scheduler.now);var s=e.call(this,r,(function(){return t.delegate&&t.delegate!==s?t.delegate.now():n()}))||this;return s.actions=[],s.active=!1,s.scheduled=void 0,s}return n.__extends(t,e),t.prototype.schedule=function(r,n,i){return void 0===n&&(n=0),t.delegate&&t.delegate!==this?t.delegate.schedule(r,n,i):e.prototype.schedule.call(this,r,n,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(i.Scheduler)},function(e,t,r){"use strict";r.r(t),r.d(t,"Scheduler",(function(){return n}));var n=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=function(){return Date.now()},e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"observeOn",(function(){return o})),r.d(t,"ObserveOnOperator",(function(){return a})),r.d(t,"ObserveOnSubscriber",(function(){return c})),r.d(t,"ObserveOnMessage",(function(){return u}));var n=r(170),i=r(169),s=r(200);function o(e,t){return void 0===t&&(t=0),function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){void 0===t&&(t=0),this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))},e}(),c=function(e){function t(t,r,n){void 0===n&&(n=0);var i=e.call(this,t)||this;return i.scheduler=r,i.delay=n,i}return n.__extends(t,e),t.dispatch=function(e){var t=e.notification,r=e.destination;t.observe(r),this.unsubscribe()},t.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new u(e,this.destination)))},t.prototype._next=function(e){this.scheduleMessage(s.Notification.createNext(e))},t.prototype._error=function(e){this.scheduleMessage(s.Notification.createError(e)),this.unsubscribe()},t.prototype._complete=function(){this.scheduleMessage(s.Notification.createComplete()),this.unsubscribe()},t}(i.Subscriber),u=function(){return function(e,t){this.notification=e,this.destination=t}}()},function(e,t,r){"use strict";r.r(t),r.d(t,"NotificationKind",(function(){return n})),r.d(t,"Notification",(function(){return a}));var n,i=r(201),s=r(202),o=r(207);n||(n={});var a=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(s.of)(this.value);case"E":return Object(o.throwError)(this.error);case"C":return Object(i.empty)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"EMPTY",(function(){return i})),r.d(t,"empty",(function(){return s}));var n=r(167),i=new n.Observable((function(e){return e.complete()}));function s(e){return e?function(e){return new n.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(e):i}},function(e,t,r){"use strict";r.r(t),r.d(t,"of",(function(){return o}));var n=r(203),i=r(204),s=r(206);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return Object(n.isScheduler)(r)?(e.pop(),Object(s.scheduleArray)(e,r)):Object(i.fromArray)(e)}},function(e,t,r){"use strict";function n(e){return e&&"function"==typeof e.schedule}r.r(t),r.d(t,"isScheduler",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"fromArray",(function(){return o}));var n=r(167),i=r(205),s=r(206);function o(e,t){return t?Object(s.scheduleArray)(e,t):new n.Observable(Object(i.subscribeToArray)(e))}},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeToArray",(function(){return n}));var n=function(e){return function(t){for(var r=0,n=e.length;r<n&&!t.closed;r++)t.next(e[r]);t.complete()}}},function(e,t,r){"use strict";r.r(t),r.d(t,"scheduleArray",(function(){return s}));var n=r(167),i=r(175);function s(e,t){return new n.Observable((function(r){var n=new i.Subscription,s=0;return n.add(t.schedule((function(){s!==e.length?(r.next(e[s++]),r.closed||n.add(this.schedule())):r.complete()}))),n}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"throwError",(function(){return i}));var n=r(167);function i(e,t){return t?new n.Observable((function(r){return t.schedule(s,0,{error:e,subscriber:r})})):new n.Observable((function(t){return t.error(e)}))}function s(e){var t=e.error;e.subscriber.error(t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"AsyncSubject",(function(){return o}));var n=r(170),i=r(185),s=r(175),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.value=null,t.hasNext=!1,t.hasCompleted=!1,t}return n.__extends(t,e),t.prototype._subscribe=function(t){return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(t.next(this.value),t.complete(),s.Subscription.EMPTY):e.prototype._subscribe.call(this,t)},t.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},t.prototype.error=function(t){this.hasCompleted||e.prototype.error.call(this,t)},t.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&e.prototype.next.call(this,this.value),e.prototype.complete.call(this)},t}(i.Subject)},function(e,t,r){"use strict";r.r(t),r.d(t,"asap",(function(){return i}));var n=r(210),i=new(r(212).AsapScheduler)(n.AsapAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"AsapAction",(function(){return s}));var n=r(170),i=r(211),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n.__extends(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=i.Immediate.setImmediate(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(i.Immediate.clearImmediate(r),t.scheduled=void 0)},t}(r(194).AsyncAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"Immediate",(function(){return a})),r.d(t,"TestTools",(function(){return c}));var n=1,i=function(){return Promise.resolve()}(),s={};function o(e){return e in s&&(delete s[e],!0)}var a={setImmediate:function(e){var t=n++;return s[t]=!0,i.then((function(){return o(t)&&e()})),t},clearImmediate:function(e){o(e)}},c={pending:function(){return Object.keys(s).length}}},function(e,t,r){"use strict";r.r(t),r.d(t,"AsapScheduler",(function(){return i}));var n=r(170),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(197).AsyncScheduler)},function(e,t,r){"use strict";r.r(t),r.d(t,"async",(function(){return i}));var n=r(194),i=new(r(197).AsyncScheduler)(n.AsyncAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"animationFrame",(function(){return i}));var n=r(215),i=new(r(216).AnimationFrameScheduler)(n.AnimationFrameAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"AnimationFrameAction",(function(){return i}));var n=r(170),i=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return n.__extends(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);0===t.actions.length&&(cancelAnimationFrame(r),t.scheduled=void 0)},t}(r(194).AsyncAction)},function(e,t,r){"use strict";r.r(t),r.d(t,"AnimationFrameScheduler",(function(){return i}));var n=r(170),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,r=this.actions,n=-1,i=r.length;e=e||r.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n<i&&(e=r.shift()));if(this.active=!1,t){for(;++n<i&&(e=r.shift());)e.unsubscribe();throw t}},t}(r(197).AsyncScheduler)},function(e,t,r){"use strict";r.r(t),r.d(t,"VirtualTimeScheduler",(function(){return s})),r.d(t,"VirtualAction",(function(){return o}));var n=r(170),i=r(194),s=function(e){function t(t,r){void 0===t&&(t=o),void 0===r&&(r=Number.POSITIVE_INFINITY);var n=e.call(this,t,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return n.__extends(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(197).AsyncScheduler),o=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.index=n,i.active=!0,i.index=t.index=n,i}return n.__extends(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(r,n)},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var i=e.actions;return i.push(this),i.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(i.AsyncAction)},function(e,t,r){"use strict";function n(){}r.r(t),r.d(t,"noop",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"isObservable",(function(){return i}));var n=r(167);function i(e){return!!e&&(e instanceof n.Observable||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},function(e,t,r){"use strict";r.r(t),r.d(t,"ArgumentOutOfRangeError",(function(){return n}));var n=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"EmptyError",(function(){return n}));var n=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"TimeoutError",(function(){return n}));var n=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"bindCallback",(function(){return u}));var n=r(167),i=r(208),s=r(224),o=r(168),a=r(176),c=r(203);function u(e,t,r){if(t){if(!Object(c.isScheduler)(t))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return u(e,r).apply(void 0,n).pipe(Object(s.map)((function(e){return Object(a.isArray)(e)?t.apply(void 0,e):t(e)})))};r=t}return function(){for(var t=[],s=0;s<arguments.length;s++)t[s]=arguments[s];var a,c=this,u={context:c,subject:a,callbackFunc:e,scheduler:r};return new n.Observable((function(n){if(r){var s={args:t,subscriber:n,params:u};return r.schedule(p,0,s)}if(!a){a=new i.AsyncSubject;try{e.apply(c,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a.next(e.length<=1?e[0]:e),a.complete()}]))}catch(e){Object(o.canReportError)(a)?a.error(e):console.warn(e)}}return a.subscribe(n)}))}}function p(e){var t=this,r=e.args,n=e.subscriber,s=e.params,o=s.callbackFunc,a=s.context,c=s.scheduler,u=s.subject;if(!u){u=s.subject=new i.AsyncSubject;try{o.apply(a,r.concat([function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.length<=1?e[0]:e;t.add(c.schedule(l,0,{value:n,subject:u}))}]))}catch(e){u.error(e)}}this.add(u.subscribe(n))}function l(e){var t=e.value,r=e.subject;r.next(t),r.complete()}},function(e,t,r){"use strict";r.r(t),r.d(t,"map",(function(){return s})),r.d(t,"MapOperator",(function(){return o}));var n=r(170),i=r(169);function s(e,t){return function(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.project=r,i.count=0,i.thisArg=n||i,i}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"bindNodeCallback",(function(){return u}));var n=r(167),i=r(208),s=r(224),o=r(168),a=r(203),c=r(176);function u(e,t,r){if(t){if(!Object(a.isScheduler)(t))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return u(e,r).apply(void 0,n).pipe(Object(s.map)((function(e){return Object(c.isArray)(e)?t.apply(void 0,e):t(e)})))};r=t}return function(){for(var t=[],s=0;s<arguments.length;s++)t[s]=arguments[s];var a={subject:void 0,args:t,callbackFunc:e,scheduler:r,context:this};return new n.Observable((function(n){var s=a.context,c=a.subject;if(r)return r.schedule(p,0,{params:a,subscriber:n,context:s});if(!c){c=a.subject=new i.AsyncSubject;try{e.apply(s,t.concat([function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.shift();r?c.error(r):(c.next(e.length<=1?e[0]:e),c.complete())}]))}catch(e){Object(o.canReportError)(c)?c.error(e):console.warn(e)}}return c.subscribe(n)}))}}function p(e){var t=this,r=e.params,n=e.subscriber,s=e.context,o=r.callbackFunc,a=r.args,c=r.scheduler,u=r.subject;if(!u){u=r.subject=new i.AsyncSubject;try{o.apply(s,a.concat([function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=e.shift();if(n)t.add(c.schedule(f,0,{err:n,subject:u}));else{var i=e.length<=1?e[0]:e;t.add(c.schedule(l,0,{value:i,subject:u}))}}]))}catch(e){this.add(c.schedule(f,0,{err:e,subject:u}))}}this.add(u.subscribe(n))}function l(e){var t=e.value,r=e.subject;r.next(t),r.complete()}function f(e){var t=e.err;e.subject.error(t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"combineLatest",(function(){return p})),r.d(t,"CombineLatestOperator",(function(){return l})),r.d(t,"CombineLatestSubscriber",(function(){return f}));var n=r(170),i=r(203),s=r(176),o=r(227),a=r(228),c=r(204),u={};function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=null,n=null;return Object(i.isScheduler)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&Object(s.isArray)(e[0])&&(e=e[0]),Object(c.fromArray)(e,n).lift(new l(r))}var l=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.resultSelector=r,n.active=0,n.values=[],n.observables=[],n}return n.__extends(t,e),t.prototype._next=function(e){this.values.push(u),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var r=0;r<t;r++){var n=e[r];this.add(Object(a.subscribeToResult)(this,n,n,r))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){var s=this.values,o=s[r],a=this.toRespond?o===u?--this.toRespond:this.toRespond:0;s[r]=t,0===a&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"OuterSubscriber",(function(){return i}));var n=r(170),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(r(169).Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeToResult",(function(){return o}));var n=r(229),i=r(230),s=r(167);function o(e,t,r,o,a){if(void 0===a&&(a=new n.InnerSubscriber(e,r,o)),!a.closed)return t instanceof s.Observable?t.subscribe(a):Object(i.subscribeTo)(t)(a)}},function(e,t,r){"use strict";r.r(t),r.d(t,"InnerSubscriber",(function(){return i}));var n=r(170),i=function(e){function t(t,r,n){var i=e.call(this)||this;return i.parent=t,i.outerValue=r,i.outerIndex=n,i.index=0,i}return n.__extends(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(r(169).Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeTo",(function(){return f}));var n=r(205),i=r(231),s=r(232),o=r(234),a=r(235),c=r(236),u=r(177),p=r(233),l=r(181),f=function(e){if(e&&"function"==typeof e[l.observable])return Object(o.subscribeToObservable)(e);if(Object(a.isArrayLike)(e))return Object(n.subscribeToArray)(e);if(Object(c.isPromise)(e))return Object(i.subscribeToPromise)(e);if(e&&"function"==typeof e[p.iterator])return Object(s.subscribeToIterable)(e);var t=Object(u.isObject)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeToPromise",(function(){return i}));var n=r(174),i=function(e){return function(t){return e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,n.hostReportError),t}}},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeToIterable",(function(){return i}));var n=r(233),i=function(e){return function(t){for(var r=e[n.iterator]();;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof r.return&&t.add((function(){r.return&&r.return()})),t}}},function(e,t,r){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}r.r(t),r.d(t,"getSymbolIterator",(function(){return n})),r.d(t,"iterator",(function(){return i})),r.d(t,"$$iterator",(function(){return s}));var i=n(),s=i},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeToObservable",(function(){return i}));var n=r(181),i=function(e){return function(t){var r=e[n.observable]();if("function"!=typeof r.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return r.subscribe(t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"isArrayLike",(function(){return n}));var n=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},function(e,t,r){"use strict";function n(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}r.r(t),r.d(t,"isPromise",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"concat",(function(){return s}));var n=r(202),i=r(238);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Object(i.concatAll)()(n.of.apply(void 0,e))}},function(e,t,r){"use strict";r.r(t),r.d(t,"concatAll",(function(){return i}));var n=r(239);function i(){return Object(n.mergeAll)(1)}},function(e,t,r){"use strict";r.r(t),r.d(t,"mergeAll",(function(){return s}));var n=r(240),i=r(183);function s(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(n.mergeMap)(i.identity,e)}},function(e,t,r){"use strict";r.r(t),r.d(t,"mergeMap",(function(){return u})),r.d(t,"MergeMapOperator",(function(){return p})),r.d(t,"MergeMapSubscriber",(function(){return l}));var n=r(170),i=r(228),s=r(227),o=r(229),a=r(224),c=r(241);function u(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(u((function(r,n){return Object(c.from)(e(r,n)).pipe(Object(a.map)((function(e,i){return t(r,e,n,i)})))}),r))}:("number"==typeof t&&(r=t),function(t){return t.lift(new p(e,r))})}var p=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))},e}(),l=function(e){function t(t,r,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=r,i.concurrent=n,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return n.__extends(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new o.InnerSubscriber(this,t,r),s=this.destination;s.add(n);var a=Object(i.subscribeToResult)(this,e,void 0,void 0,n);a!==n&&s.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"from",(function(){return o}));var n=r(167),i=r(230),s=r(242);function o(e,t){return t?Object(s.scheduled)(e,t):e instanceof n.Observable?e:new n.Observable(Object(i.subscribeTo)(e))}},function(e,t,r){"use strict";r.r(t),r.d(t,"scheduled",(function(){return l}));var n=r(243),i=r(244),s=r(206),o=r(245),a=r(246),c=r(236),u=r(235),p=r(247);function l(e,t){if(null!=e){if(Object(a.isInteropObservable)(e))return Object(n.scheduleObservable)(e,t);if(Object(c.isPromise)(e))return Object(i.schedulePromise)(e,t);if(Object(u.isArrayLike)(e))return Object(s.scheduleArray)(e,t);if(Object(p.isIterable)(e)||"string"==typeof e)return Object(o.scheduleIterable)(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},function(e,t,r){"use strict";r.r(t),r.d(t,"scheduleObservable",(function(){return o}));var n=r(167),i=r(175),s=r(181);function o(e,t){return new n.Observable((function(r){var n=new i.Subscription;return n.add(t.schedule((function(){var i=e[s.observable]();n.add(i.subscribe({next:function(e){n.add(t.schedule((function(){return r.next(e)})))},error:function(e){n.add(t.schedule((function(){return r.error(e)})))},complete:function(){n.add(t.schedule((function(){return r.complete()})))}}))}))),n}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"schedulePromise",(function(){return s}));var n=r(167),i=r(175);function s(e,t){return new n.Observable((function(r){var n=new i.Subscription;return n.add(t.schedule((function(){return e.then((function(e){n.add(t.schedule((function(){r.next(e),n.add(t.schedule((function(){return r.complete()})))})))}),(function(e){n.add(t.schedule((function(){return r.error(e)})))}))}))),n}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"scheduleIterable",(function(){return o}));var n=r(167),i=r(175),s=r(233);function o(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable((function(r){var n,o=new i.Subscription;return o.add((function(){n&&"function"==typeof n.return&&n.return()})),o.add(t.schedule((function(){n=e[s.iterator](),o.add(t.schedule((function(){if(!r.closed){var e,t;try{var i=n.next();e=i.value,t=i.done}catch(e){return void r.error(e)}t?r.complete():(r.next(e),this.schedule())}})))}))),o}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"isInteropObservable",(function(){return i}));var n=r(181);function i(e){return e&&"function"==typeof e[n.observable]}},function(e,t,r){"use strict";r.r(t),r.d(t,"isIterable",(function(){return i}));var n=r(233);function i(e){return e&&"function"==typeof e[n.iterator]}},function(e,t,r){"use strict";r.r(t),r.d(t,"defer",(function(){return o}));var n=r(167),i=r(241),s=r(201);function o(e){return new n.Observable((function(t){var r;try{r=e()}catch(e){return void t.error(e)}return(r?Object(i.from)(r):Object(s.empty)()).subscribe(t)}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"forkJoin",(function(){return c}));var n=r(167),i=r(176),s=r(224),o=r(177),a=r(241);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var r=e[0];if(Object(i.isArray)(r))return u(r,null);if(Object(o.isObject)(r)&&Object.getPrototypeOf(r)===Object.prototype){var n=Object.keys(r);return u(n.map((function(e){return r[e]})),n)}}if("function"==typeof e[e.length-1]){var a=e.pop();return u(e=1===e.length&&Object(i.isArray)(e[0])?e[0]:e,null).pipe(Object(s.map)((function(e){return a.apply(void 0,e)})))}return u(e,null)}function u(e,t){return new n.Observable((function(r){var n=e.length;if(0!==n)for(var i=new Array(n),s=0,o=0,c=function(c){var u=Object(a.from)(e[c]),p=!1;r.add(u.subscribe({next:function(e){p||(p=!0,o++),i[c]=e},error:function(e){return r.error(e)},complete:function(){++s!==n&&p||(o===n&&r.next(t?t.reduce((function(e,t,r){return e[t]=i[r],e}),{}):i),r.complete())}}))},u=0;u<n;u++)c(u);else r.complete()}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"fromEvent",(function(){return a}));var n=r(167),i=r(176),s=r(171),o=r(224);function a(e,t,r,c){return Object(s.isFunction)(r)&&(c=r,r=void 0),c?a(e,t,r).pipe(Object(o.map)((function(e){return Object(i.isArray)(e)?c.apply(void 0,e):c(e)}))):new n.Observable((function(n){!function e(t,r,n,i,s){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(r,n,s),o=function(){return a.removeEventListener(r,n,s)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(r,n),o=function(){return c.off(r,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(r,n),o=function(){return u.removeListener(r,n)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var p=0,l=t.length;p<l;p++)e(t[p],r,n,i,s)}i.add(o)}(e,t,(function(e){arguments.length>1?n.next(Array.prototype.slice.call(arguments)):n.next(e)}),n,r)}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"fromEventPattern",(function(){return a}));var n=r(167),i=r(176),s=r(171),o=r(224);function a(e,t,r){return r?a(e,t).pipe(Object(o.map)((function(e){return Object(i.isArray)(e)?r.apply(void 0,e):r(e)}))):new n.Observable((function(r){var n,i=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.next(1===e.length?e[0]:e)};try{n=e(i)}catch(e){return void r.error(e)}if(Object(s.isFunction)(t))return function(){return t(i,n)}}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"generate",(function(){return o}));var n=r(167),i=r(183),s=r(203);function o(e,t,r,o,c){var u,p;if(1==arguments.length){var l=e;p=l.initialState,t=l.condition,r=l.iterate,u=l.resultSelector||i.identity,c=l.scheduler}else void 0===o||Object(s.isScheduler)(o)?(p=e,u=i.identity,c=o):(p=e,u=o);return new n.Observable((function(e){var n=p;if(c)return c.schedule(a,0,{subscriber:e,iterate:r,condition:t,resultSelector:u,state:n});for(;;){if(t){var i=void 0;try{i=t(n)}catch(t){return void e.error(t)}if(!i){e.complete();break}}var s=void 0;try{s=u(n)}catch(t){return void e.error(t)}if(e.next(s),e.closed)break;try{n=r(n)}catch(t){return void e.error(t)}}}))}function a(e){var t=e.subscriber,r=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(e){return void t.error(e)}else e.needIterate=!0;if(r){var n=void 0;try{n=r(e.state)}catch(e){return void t.error(e)}if(!n)return void t.complete();if(t.closed)return}var i;try{i=e.resultSelector(e.state)}catch(e){return void t.error(e)}if(!t.closed&&(t.next(i),!t.closed))return this.schedule(e)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"iif",(function(){return s}));var n=r(248),i=r(201);function s(e,t,r){return void 0===t&&(t=i.EMPTY),void 0===r&&(r=i.EMPTY),Object(n.defer)((function(){return e()?t:r}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"interval",(function(){return o}));var n=r(167),i=r(213),s=r(255);function o(e,t){return void 0===e&&(e=0),void 0===t&&(t=i.async),(!Object(s.isNumeric)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=i.async),new n.Observable((function(r){return r.add(t.schedule(a,e,{subscriber:r,counter:0,period:e})),r}))}function a(e){var t=e.subscriber,r=e.counter,n=e.period;t.next(r),this.schedule({subscriber:t,counter:r+1,period:n},n)}},function(e,t,r){"use strict";r.r(t),r.d(t,"isNumeric",(function(){return i}));var n=r(176);function i(e){return!Object(n.isArray)(e)&&e-parseFloat(e)+1>=0}},function(e,t,r){"use strict";r.r(t),r.d(t,"merge",(function(){return a}));var n=r(167),i=r(203),s=r(239),o=r(204);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Number.POSITIVE_INFINITY,a=null,c=e[e.length-1];return Object(i.isScheduler)(c)?(a=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof c&&(r=e.pop()),null===a&&1===e.length&&e[0]instanceof n.Observable?e[0]:Object(s.mergeAll)(r)(Object(o.fromArray)(e,a))}},function(e,t,r){"use strict";r.r(t),r.d(t,"NEVER",(function(){return s})),r.d(t,"never",(function(){return o}));var n=r(167),i=r(218),s=new n.Observable(i.noop);function o(){return s}},function(e,t,r){"use strict";r.r(t),r.d(t,"onErrorResumeNext",(function(){return a}));var n=r(167),i=r(241),s=r(176),o=r(201);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return o.EMPTY;var r=e[0],c=e.slice(1);return 1===e.length&&Object(s.isArray)(r)?a.apply(void 0,r):new n.Observable((function(e){var t=function(){return e.add(a.apply(void 0,c).subscribe(e))};return Object(i.from)(r).subscribe({next:function(t){e.next(t)},error:t,complete:t})}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"pairs",(function(){return s})),r.d(t,"dispatch",(function(){return o}));var n=r(167),i=r(175);function s(e,t){return t?new n.Observable((function(r){var n=Object.keys(e),s=new i.Subscription;return s.add(t.schedule(o,0,{keys:n,index:0,subscriber:r,subscription:s,obj:e})),s})):new n.Observable((function(t){for(var r=Object.keys(e),n=0;n<r.length&&!t.closed;n++){var i=r[n];e.hasOwnProperty(i)&&t.next([i,e[i]])}t.complete()}))}function o(e){var t=e.keys,r=e.index,n=e.subscriber,i=e.subscription,s=e.obj;if(!n.closed)if(r<t.length){var o=t[r];n.next([o,s[o]]),i.add(this.schedule({keys:t,index:r+1,subscriber:n,subscription:i,obj:s}))}else n.complete()}},function(e,t,r){"use strict";r.r(t),r.d(t,"partition",(function(){return a}));var n=r(261),i=r(230),s=r(262),o=r(167);function a(e,t,r){return[Object(s.filter)(t,r)(new o.Observable(Object(i.subscribeTo)(e))),Object(s.filter)(Object(n.not)(t,r))(new o.Observable(Object(i.subscribeTo)(e)))]}},function(e,t,r){"use strict";function n(e,t){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=e,r.thisArg=t,r}r.r(t),r.d(t,"not",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"filter",(function(){return s}));var n=r(170),i=r(169);function s(e,t){return function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.thisArg=n,i.count=0,i}return n.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"race",(function(){return c})),r.d(t,"RaceOperator",(function(){return u})),r.d(t,"RaceSubscriber",(function(){return p}));var n=r(170),i=r(176),s=r(204),o=r(227),a=r(228);function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){if(!Object(i.isArray)(e[0]))return e[0];e=e[0]}return Object(s.fromArray)(e,void 0).lift(new u)}var u=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new p(e))},e}(),p=function(e){function t(t){var r=e.call(this,t)||this;return r.hasFirst=!1,r.observables=[],r.subscriptions=[],r}return n.__extends(t,e),t.prototype._next=function(e){this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var r=0;r<t&&!this.hasFirst;r++){var n=e[r],i=Object(a.subscribeToResult)(this,n,n,r);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},t.prototype.notifyNext=function(e,t,r,n,i){if(!this.hasFirst){this.hasFirst=!0;for(var s=0;s<this.subscriptions.length;s++)if(s!==r){var o=this.subscriptions[s];o.unsubscribe(),this.remove(o)}this.subscriptions=null}this.destination.next(t)},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"range",(function(){return i})),r.d(t,"dispatch",(function(){return s}));var n=r(167);function i(e,t,r){return void 0===e&&(e=0),new n.Observable((function(n){void 0===t&&(t=e,e=0);var i=0,o=e;if(r)return r.schedule(s,0,{index:i,count:t,start:e,subscriber:n});for(;;){if(i++>=t){n.complete();break}if(n.next(o++),n.closed)break}}))}function s(e){var t=e.start,r=e.index,n=e.count,i=e.subscriber;r>=n?i.complete():(i.next(t),i.closed||(e.index=r+1,e.start=t+1,this.schedule(e)))}},function(e,t,r){"use strict";r.r(t),r.d(t,"timer",(function(){return a}));var n=r(167),i=r(213),s=r(255),o=r(203);function a(e,t,r){void 0===e&&(e=0);var a=-1;return Object(s.isNumeric)(t)?a=Number(t)<1?1:Number(t):Object(o.isScheduler)(t)&&(r=t),Object(o.isScheduler)(r)||(r=i.async),new n.Observable((function(t){var n=Object(s.isNumeric)(e)?e:+e-r.now();return r.schedule(c,n,{index:0,period:a,subscriber:t})}))}function c(e){var t=e.index,r=e.period,n=e.subscriber;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,this.schedule(e,r)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"using",(function(){return o}));var n=r(167),i=r(241),s=r(201);function o(e,t){return new n.Observable((function(r){var n,o;try{n=e()}catch(e){return void r.error(e)}try{o=t(n)}catch(e){return void r.error(e)}var a=(o?Object(i.from)(o):s.EMPTY).subscribe(r);return function(){a.unsubscribe(),n&&n.unsubscribe()}}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"zip",(function(){return p})),r.d(t,"ZipOperator",(function(){return l})),r.d(t,"ZipSubscriber",(function(){return f}));var n=r(170),i=r(204),s=r(176),o=r(169),a=r(227),c=r(228),u=r(233);function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),Object(i.fromArray)(e,void 0).lift(new l(r))}var l=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.resultSelector))},e}(),f=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null));var i=e.call(this,t)||this;return i.iterators=[],i.active=0,i.resultSelector="function"==typeof r?r:null,i.values=n,i}return n.__extends(t,e),t.prototype._next=function(e){var t=this.iterators;Object(s.isArray)(e)?t.push(new h(e)):"function"==typeof e[u.iterator]?t.push(new m(e[u.iterator]())):t.push(new d(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var r=0;r<t;r++){var n=e[r];if(n.stillUnsubscribed)this.destination.add(n.subscribe(n,r));else this.active--}}else this.destination.complete()},t.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){if("function"==typeof(o=e[n]).hasValue&&!o.hasValue())return}var i=!1,s=[];for(n=0;n<t;n++){var o,a=(o=e[n]).next();if(o.hasCompleted()&&(i=!0),a.done)return void r.complete();s.push(a.value)}this.resultSelector?this._tryresultSelector(s):r.next(s),i&&r.complete()},t.prototype._tryresultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.Subscriber),m=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),h=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[u.iterator]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),d=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.parent=r,i.observable=n,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return n.__extends(t,e),t.prototype[u.iterator]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(c.subscribeToResult)(this,this.observable,this,t)},t}(a.OuterSubscriber)},,function(e,t,r){"use strict";r.r(t);var n=r(270);r.d(t,"audit",(function(){return n.audit}));var i=r(271);r.d(t,"auditTime",(function(){return i.auditTime}));var s=r(272);r.d(t,"buffer",(function(){return s.buffer}));var o=r(273);r.d(t,"bufferCount",(function(){return o.bufferCount}));var a=r(274);r.d(t,"bufferTime",(function(){return a.bufferTime}));var c=r(275);r.d(t,"bufferToggle",(function(){return c.bufferToggle}));var u=r(276);r.d(t,"bufferWhen",(function(){return u.bufferWhen}));var p=r(277);r.d(t,"catchError",(function(){return p.catchError}));var l=r(278);r.d(t,"combineAll",(function(){return l.combineAll}));var f=r(279);r.d(t,"combineLatest",(function(){return f.combineLatest}));var m=r(280);r.d(t,"concat",(function(){return m.concat}));var h=r(238);r.d(t,"concatAll",(function(){return h.concatAll}));var d=r(281);r.d(t,"concatMap",(function(){return d.concatMap}));var _=r(282);r.d(t,"concatMapTo",(function(){return _.concatMapTo}));var g=r(283);r.d(t,"count",(function(){return g.count}));var y=r(284);r.d(t,"debounce",(function(){return y.debounce}));var R=r(285);r.d(t,"debounceTime",(function(){return R.debounceTime}));var b=r(286);r.d(t,"defaultIfEmpty",(function(){return b.defaultIfEmpty}));var v=r(287);r.d(t,"delay",(function(){return v.delay}));var A=r(289);r.d(t,"delayWhen",(function(){return A.delayWhen}));var E=r(290);r.d(t,"dematerialize",(function(){return E.dematerialize}));var T=r(291);r.d(t,"distinct",(function(){return T.distinct}));var x=r(292);r.d(t,"distinctUntilChanged",(function(){return x.distinctUntilChanged}));var O=r(293);r.d(t,"distinctUntilKeyChanged",(function(){return O.distinctUntilKeyChanged}));var N=r(294);r.d(t,"elementAt",(function(){return N.elementAt}));var w=r(297);r.d(t,"endWith",(function(){return w.endWith}));var C=r(298);r.d(t,"every",(function(){return C.every}));var S=r(299);r.d(t,"exhaust",(function(){return S.exhaust}));var k=r(300);r.d(t,"exhaustMap",(function(){return k.exhaustMap}));var L=r(301);r.d(t,"expand",(function(){return L.expand}));var D=r(262);r.d(t,"filter",(function(){return D.filter}));var G=r(302);r.d(t,"finalize",(function(){return G.finalize}));var M=r(303);r.d(t,"find",(function(){return M.find}));var I=r(304);r.d(t,"findIndex",(function(){return I.findIndex}));var F=r(305);r.d(t,"first",(function(){return F.first}));var B=r(189);r.d(t,"groupBy",(function(){return B.groupBy}));var P=r(306);r.d(t,"ignoreElements",(function(){return P.ignoreElements}));var W=r(307);r.d(t,"isEmpty",(function(){return W.isEmpty}));var j=r(308);r.d(t,"last",(function(){return j.last}));var q=r(224);r.d(t,"map",(function(){return q.map}));var H=r(310);r.d(t,"mapTo",(function(){return H.mapTo}));var $=r(311);r.d(t,"materialize",(function(){return $.materialize}));var X=r(312);r.d(t,"max",(function(){return X.max}));var U=r(315);r.d(t,"merge",(function(){return U.merge}));var V=r(239);r.d(t,"mergeAll",(function(){return V.mergeAll}));var z=r(240);r.d(t,"mergeMap",(function(){return z.mergeMap})),r.d(t,"flatMap",(function(){return z.mergeMap}));var K=r(316);r.d(t,"mergeMapTo",(function(){return K.mergeMapTo}));var Z=r(317);r.d(t,"mergeScan",(function(){return Z.mergeScan}));var Y=r(318);r.d(t,"min",(function(){return Y.min}));var Q=r(319);r.d(t,"multicast",(function(){return Q.multicast}));var J=r(199);r.d(t,"observeOn",(function(){return J.observeOn}));var ee=r(320);r.d(t,"onErrorResumeNext",(function(){return ee.onErrorResumeNext}));var te=r(321);r.d(t,"pairwise",(function(){return te.pairwise}));var re=r(322);r.d(t,"partition",(function(){return re.partition}));var ne=r(323);r.d(t,"pluck",(function(){return ne.pluck}));var ie=r(324);r.d(t,"publish",(function(){return ie.publish}));var se=r(325);r.d(t,"publishBehavior",(function(){return se.publishBehavior}));var oe=r(326);r.d(t,"publishLast",(function(){return oe.publishLast}));var ae=r(327);r.d(t,"publishReplay",(function(){return ae.publishReplay}));var ce=r(328);r.d(t,"race",(function(){return ce.race}));var ue=r(313);r.d(t,"reduce",(function(){return ue.reduce}));var pe=r(329);r.d(t,"repeat",(function(){return pe.repeat}));var le=r(330);r.d(t,"repeatWhen",(function(){return le.repeatWhen}));var fe=r(331);r.d(t,"retry",(function(){return fe.retry}));var me=r(332);r.d(t,"retryWhen",(function(){return me.retryWhen}));var he=r(188);r.d(t,"refCount",(function(){return he.refCount}));var de=r(333);r.d(t,"sample",(function(){return de.sample}));var _e=r(334);r.d(t,"sampleTime",(function(){return _e.sampleTime}));var ge=r(314);r.d(t,"scan",(function(){return ge.scan}));var ye=r(335);r.d(t,"sequenceEqual",(function(){return ye.sequenceEqual}));var Re=r(336);r.d(t,"share",(function(){return Re.share}));var be=r(337);r.d(t,"shareReplay",(function(){return be.shareReplay}));var ve=r(338);r.d(t,"single",(function(){return ve.single}));var Ae=r(339);r.d(t,"skip",(function(){return Ae.skip}));var Ee=r(340);r.d(t,"skipLast",(function(){return Ee.skipLast}));var Te=r(341);r.d(t,"skipUntil",(function(){return Te.skipUntil}));var xe=r(342);r.d(t,"skipWhile",(function(){return xe.skipWhile}));var Oe=r(343);r.d(t,"startWith",(function(){return Oe.startWith}));var Ne=r(344);r.d(t,"subscribeOn",(function(){return Ne.subscribeOn}));var we=r(346);r.d(t,"switchAll",(function(){return we.switchAll}));var Ce=r(347);r.d(t,"switchMap",(function(){return Ce.switchMap}));var Se=r(348);r.d(t,"switchMapTo",(function(){return Se.switchMapTo}));var ke=r(296);r.d(t,"take",(function(){return ke.take}));var Le=r(309);r.d(t,"takeLast",(function(){return Le.takeLast}));var De=r(349);r.d(t,"takeUntil",(function(){return De.takeUntil}));var Ge=r(350);r.d(t,"takeWhile",(function(){return Ge.takeWhile}));var Me=r(351);r.d(t,"tap",(function(){return Me.tap}));var Ie=r(352);r.d(t,"throttle",(function(){return Ie.throttle}));var Fe=r(353);r.d(t,"throttleTime",(function(){return Fe.throttleTime}));var Be=r(295);r.d(t,"throwIfEmpty",(function(){return Be.throwIfEmpty}));var Pe=r(354);r.d(t,"timeInterval",(function(){return Pe.timeInterval}));var We=r(355);r.d(t,"timeout",(function(){return We.timeout}));var je=r(356);r.d(t,"timeoutWith",(function(){return je.timeoutWith}));var qe=r(357);r.d(t,"timestamp",(function(){return qe.timestamp}));var He=r(358);r.d(t,"toArray",(function(){return He.toArray}));var $e=r(359);r.d(t,"window",(function(){return $e.window}));var Xe=r(360);r.d(t,"windowCount",(function(){return Xe.windowCount}));var Ue=r(361);r.d(t,"windowTime",(function(){return Ue.windowTime}));var Ve=r(362);r.d(t,"windowToggle",(function(){return Ve.windowToggle}));var ze=r(363);r.d(t,"windowWhen",(function(){return ze.windowWhen}));var Ke=r(364);r.d(t,"withLatestFrom",(function(){return Ke.withLatestFrom}));var Ze=r(365);r.d(t,"zip",(function(){return Ze.zip}));var Ye=r(366);r.d(t,"zipAll",(function(){return Ye.zipAll}))},function(e,t,r){"use strict";r.r(t),r.d(t,"audit",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.durationSelector=r,n.hasValue=!1,n}return n.__extends(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(e){return this.destination.error(e)}var r=Object(s.subscribeToResult)(this,t);!r||r.closed?this.clearThrottle():this.add(this.throttled=r)}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,r=this.throttled;r&&(this.remove(r),this.throttled=null,r.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,r,n){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"auditTime",(function(){return o}));var n=r(213),i=r(270),s=r(265);function o(e,t){return void 0===t&&(t=n.async),Object(i.audit)((function(){return Object(s.timer)(e,t)}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"buffer",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.closingNotifier=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.closingNotifier))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.buffer=[],n.add(Object(s.subscribeToResult)(n,r)),n}return n.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype.notifyNext=function(e,t,r,n,i){var s=this.buffer;this.buffer=[],this.destination.next(s)},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"bufferCount",(function(){return s}));var n=r(170),i=r(169);function s(e,t){return void 0===t&&(t=null),function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.bufferSize=e,this.startBufferEvery=t,this.subscriberClass=t&&e!==t?c:a}return e.prototype.call=function(e,t){return t.subscribe(new this.subscriberClass(e,this.bufferSize,this.startBufferEvery))},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.bufferSize=r,n.buffer=[],n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.buffer;t.push(e),t.length==this.bufferSize&&(this.destination.next(t),this.buffer=[])},t.prototype._complete=function(){var t=this.buffer;t.length>0&&this.destination.next(t),e.prototype._complete.call(this)},t}(i.Subscriber),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.bufferSize=r,i.startBufferEvery=n,i.buffers=[],i.count=0,i}return n.__extends(t,e),t.prototype._next=function(e){var t=this.bufferSize,r=this.startBufferEvery,n=this.buffers,i=this.count;this.count++,i%r==0&&n.push([]);for(var s=n.length;s--;){var o=n[s];o.push(e),o.length===t&&(n.splice(s,1),this.destination.next(o))}},t.prototype._complete=function(){for(var t=this.buffers,r=this.destination;t.length>0;){var n=t.shift();n.length>0&&r.next(n)}e.prototype._complete.call(this)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"bufferTime",(function(){return a}));var n=r(170),i=r(213),s=r(169),o=r(203);function a(e){var t=arguments.length,r=i.async;Object(o.isScheduler)(arguments[arguments.length-1])&&(r=arguments[arguments.length-1],t--);var n=null;t>=2&&(n=arguments[1]);var s=Number.POSITIVE_INFINITY;return t>=3&&(s=arguments[2]),function(t){return t.lift(new c(e,n,s,r))}}var c=function(){function e(e,t,r,n){this.bufferTimeSpan=e,this.bufferCreationInterval=t,this.maxBufferSize=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},e}(),u=function(){return function(){this.buffer=[]}}(),p=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;o.bufferTimeSpan=r,o.bufferCreationInterval=n,o.maxBufferSize=i,o.scheduler=s,o.contexts=[];var a=o.openContext();if(o.timespanOnly=null==n||n<0,o.timespanOnly){var c={subscriber:o,context:a,bufferTimeSpan:r};o.add(a.closeAction=s.schedule(l,r,c))}else{var u={subscriber:o,context:a},p={bufferTimeSpan:r,bufferCreationInterval:n,subscriber:o,scheduler:s};o.add(a.closeAction=s.schedule(m,r,u)),o.add(s.schedule(f,n,p))}return o}return n.__extends(t,e),t.prototype._next=function(e){for(var t,r=this.contexts,n=r.length,i=0;i<n;i++){var s=r[i],o=s.buffer;o.push(e),o.length==this.maxBufferSize&&(t=s)}t&&this.onBufferFull(t)},t.prototype._error=function(t){this.contexts.length=0,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts,r=this.destination;t.length>0;){var n=t.shift();r.next(n.buffer)}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.contexts=null},t.prototype.onBufferFull=function(e){this.closeContext(e);var t=e.closeAction;if(t.unsubscribe(),this.remove(t),!this.closed&&this.timespanOnly){e=this.openContext();var r=this.bufferTimeSpan,n={subscriber:this,context:e,bufferTimeSpan:r};this.add(e.closeAction=this.scheduler.schedule(l,r,n))}},t.prototype.openContext=function(){var e=new u;return this.contexts.push(e),e},t.prototype.closeContext=function(e){this.destination.next(e.buffer);var t=this.contexts;(t?t.indexOf(e):-1)>=0&&t.splice(t.indexOf(e),1)},t}(s.Subscriber);function l(e){var t=e.subscriber,r=e.context;r&&t.closeContext(r),t.closed||(e.context=t.openContext(),e.context.closeAction=this.schedule(e,e.bufferTimeSpan))}function f(e){var t=e.bufferCreationInterval,r=e.bufferTimeSpan,n=e.subscriber,i=e.scheduler,s=n.openContext();n.closed||(n.add(s.closeAction=i.schedule(m,r,{subscriber:n,context:s})),this.schedule(e,t))}function m(e){var t=e.subscriber,r=e.context;t.closeContext(r)}},function(e,t,r){"use strict";r.r(t),r.d(t,"bufferToggle",(function(){return a}));var n=r(170),i=r(175),s=r(228),o=r(227);function a(e,t){return function(r){return r.lift(new c(e,t))}}var c=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.openings,this.closingSelector))},e}(),u=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.openings=r,i.closingSelector=n,i.contexts=[],i.add(Object(s.subscribeToResult)(i,r)),i}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.contexts,r=t.length,n=0;n<r;n++)t[n].buffer.push(e)},t.prototype._error=function(t){for(var r=this.contexts;r.length>0;){var n=r.shift();n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,e.prototype._error.call(this,t)},t.prototype._complete=function(){for(var t=this.contexts;t.length>0;){var r=t.shift();this.destination.next(r.buffer),r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,r,n,i){e?this.closeBuffer(e):this.openBuffer(t)},t.prototype.notifyComplete=function(e){this.closeBuffer(e.context)},t.prototype.openBuffer=function(e){try{var t=this.closingSelector.call(this,e);t&&this.trySubscribe(t)}catch(e){this._error(e)}},t.prototype.closeBuffer=function(e){var t=this.contexts;if(t&&e){var r=e.buffer,n=e.subscription;this.destination.next(r),t.splice(t.indexOf(e),1),this.remove(n),n.unsubscribe()}},t.prototype.trySubscribe=function(e){var t=this.contexts,r=new i.Subscription,n={buffer:[],subscription:r};t.push(n);var o=Object(s.subscribeToResult)(this,e,n);!o||o.closed?this.closeBuffer(n):(o.context=n,this.add(o),r.add(o))},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"bufferWhen",(function(){return a}));var n=r(170),i=r(175),s=r(227),o=r(228);function a(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,r){var n=e.call(this,t)||this;return n.closingSelector=r,n.subscribing=!1,n.openBuffer(),n}return n.__extends(t,e),t.prototype._next=function(e){this.buffer.push(e)},t.prototype._complete=function(){var t=this.buffer;t&&this.destination.next(t),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},t.prototype.notifyNext=function(e,t,r,n,i){this.openBuffer()},t.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},t.prototype.openBuffer=function(){var e=this.closingSubscription;e&&(this.remove(e),e.unsubscribe());var t,r=this.buffer;this.buffer&&this.destination.next(r),this.buffer=[];try{t=(0,this.closingSelector)()}catch(e){return this.error(e)}e=new i.Subscription,this.closingSubscription=e,this.add(e),this.subscribing=!0,e.add(Object(o.subscribeToResult)(this,t)),this.subscribing=!1},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"catchError",(function(){return a}));var n=r(170),i=r(227),s=r(229),o=r(228);function a(e){return function(t){var r=new c(e),n=t.lift(r);return r.caught=n}}var c=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.selector,this.caught))},e}(),u=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.selector=r,i.caught=n,i}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle();var n=new s.InnerSubscriber(this,void 0,void 0);this.add(n);var i=Object(o.subscribeToResult)(this,r,void 0,void 0,n);i!==n&&this.add(i)}},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"combineAll",(function(){return i}));var n=r(226);function i(e){return function(t){return t.lift(new n.CombineLatestOperator(e))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"combineLatest",(function(){return o}));var n=r(176),i=r(226),s=r(241);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=null;return"function"==typeof e[e.length-1]&&(r=e.pop()),1===e.length&&Object(n.isArray)(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(Object(s.from)([t].concat(e)),new i.CombineLatestOperator(r))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"concat",(function(){return i}));var n=r(237);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(n.concat.apply(void 0,[t].concat(e)))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"concatMap",(function(){return i}));var n=r(240);function i(e,t){return Object(n.mergeMap)(e,t,1)}},function(e,t,r){"use strict";r.r(t),r.d(t,"concatMapTo",(function(){return i}));var n=r(281);function i(e,t){return Object(n.concatMap)((function(){return e}),t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"count",(function(){return s}));var n=r(170),i=r(169);function s(e){return function(t){return t.lift(new o(e,t))}}var o=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.source=n,i.count=0,i.index=0,i}return n.__extends(t,e),t.prototype._next=function(e){this.predicate?this._tryPredicate(e):this.count++},t.prototype._tryPredicate=function(e){var t;try{t=this.predicate(e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t&&this.count++},t.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"debounce",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.durationSelector))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.durationSelector=r,n.hasValue=!1,n.durationSubscription=null,n}return n.__extends(t,e),t.prototype._next=function(e){try{var t=this.durationSelector.call(this,e);t&&this._tryNext(e,t)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.emitValue(),this.destination.complete()},t.prototype._tryNext=function(e,t){var r=this.durationSubscription;this.value=e,this.hasValue=!0,r&&(r.unsubscribe(),this.remove(r)),(r=Object(s.subscribeToResult)(this,t))&&!r.closed&&this.add(this.durationSubscription=r)},t.prototype.notifyNext=function(e,t,r,n,i){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){if(this.hasValue){var t=this.value,r=this.durationSubscription;r&&(this.durationSubscription=null,r.unsubscribe(),this.remove(r)),this.value=null,this.hasValue=!1,e.prototype._next.call(this,t)}},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"debounceTime",(function(){return o}));var n=r(170),i=r(169),s=r(213);function o(e,t){return void 0===t&&(t=s.async),function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.dueTime,this.scheduler))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.dueTime=r,i.scheduler=n,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return n.__extends(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(u,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(i.Subscriber);function u(e){e.debouncedNext()}},function(e,t,r){"use strict";r.r(t),r.d(t,"defaultIfEmpty",(function(){return s}));var n=r(170),i=r(169);function s(e){return void 0===e&&(e=null),function(t){return t.lift(new o(e))}}var o=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.defaultValue))},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.defaultValue=r,n.isEmpty=!0,n}return n.__extends(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"delay",(function(){return c}));var n=r(170),i=r(213),s=r(288),o=r(169),a=r(200);function c(e,t){void 0===t&&(t=i.async);var r=Object(s.isDate)(e)?+e-t.now():Math.abs(e);return function(e){return e.lift(new u(r,t))}}var u=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.delay,this.scheduler))},e}(),p=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.delay=r,i.scheduler=n,i.queue=[],i.active=!1,i.errored=!1,i}return n.__extends(t,e),t.dispatch=function(e){for(var t=e.source,r=t.queue,n=e.scheduler,i=e.destination;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){var s=Math.max(0,r[0].time-n.now());this.schedule(e,s)}else this.unsubscribe(),t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,r=new l(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(a.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.scheduleNotification(a.Notification.createComplete()),this.unsubscribe()},t}(o.Subscriber),l=function(){return function(e,t){this.time=e,this.notification=t}}()},function(e,t,r){"use strict";function n(e){return e instanceof Date&&!isNaN(+e)}r.r(t),r.d(t,"isDate",(function(){return n}))},function(e,t,r){"use strict";r.r(t),r.d(t,"delayWhen",(function(){return c}));var n=r(170),i=r(169),s=r(167),o=r(227),a=r(228);function c(e,t){return t?function(r){return new l(r,t).lift(new u(e))}:function(t){return t.lift(new u(e))}}var u=function(){function e(e){this.delayDurationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.delayDurationSelector))},e}(),p=function(e){function t(t,r){var n=e.call(this,t)||this;return n.delayDurationSelector=r,n.completed=!1,n.delayNotifierSubscriptions=[],n.index=0,n}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(e),this.removeSubscription(i),this.tryComplete()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){var t=this.removeSubscription(e);t&&this.destination.next(t),this.tryComplete()},t.prototype._next=function(e){var t=this.index++;try{var r=this.delayDurationSelector(e,t);r&&this.tryDelay(r,e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},t.prototype.removeSubscription=function(e){e.unsubscribe();var t=this.delayNotifierSubscriptions.indexOf(e);return-1!==t&&this.delayNotifierSubscriptions.splice(t,1),e.outerValue},t.prototype.tryDelay=function(e,t){var r=Object(a.subscribeToResult)(this,e,t);r&&!r.closed&&(this.destination.add(r),this.delayNotifierSubscriptions.push(r))},t.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},t}(o.OuterSubscriber),l=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subscriptionDelay=r,n}return n.__extends(t,e),t.prototype._subscribe=function(e){this.subscriptionDelay.subscribe(new f(e,this.source))},t}(s.Observable),f=function(e){function t(t,r){var n=e.call(this)||this;return n.parent=t,n.source=r,n.sourceSubscribed=!1,n}return n.__extends(t,e),t.prototype._next=function(e){this.subscribeToSource()},t.prototype._error=function(e){this.unsubscribe(),this.parent.error(e)},t.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},t.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"dematerialize",(function(){return s}));var n=r(170),i=r(169);function s(){return function(e){return e.lift(new o)}}var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype._next=function(e){e.observe(this.destination)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"distinct",(function(){return o})),r.d(t,"DistinctSubscriber",(function(){return c}));var n=r(170),i=r(227),s=r(228);function o(e,t){return function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){this.keySelector=e,this.flushes=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.keySelector,this.flushes))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keySelector=r,i.values=new Set,n&&i.add(Object(s.subscribeToResult)(i,n)),i}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.values.clear()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype._next=function(e){this.keySelector?this._useKeySelector(e):this._finalizeNext(e,e)},t.prototype._useKeySelector=function(e){var t,r=this.destination;try{t=this.keySelector(e)}catch(e){return void r.error(e)}this._finalizeNext(t,e)},t.prototype._finalizeNext=function(e,t){var r=this.values;r.has(e)||(r.add(e),this.destination.next(t))},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"distinctUntilChanged",(function(){return s}));var n=r(170),i=r(169);function s(e,t){return function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keySelector=n,i.hasKey=!1,"function"==typeof r&&(i.compare=r),i}return n.__extends(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var r=this.keySelector;t=r?r(e):e}catch(e){return this.destination.error(e)}var n=!1;if(this.hasKey)try{n=(0,this.compare)(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"distinctUntilKeyChanged",(function(){return i}));var n=r(292);function i(e,t){return Object(n.distinctUntilChanged)((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"elementAt",(function(){return c}));var n=r(220),i=r(262),s=r(295),o=r(286),a=r(296);function c(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(c){return c.pipe(Object(i.filter)((function(t,r){return r===e})),Object(a.take)(1),r?Object(o.defaultIfEmpty)(t):Object(s.throwIfEmpty)((function(){return new n.ArgumentOutOfRangeError})))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"throwIfEmpty",(function(){return o}));var n=r(170),i=r(221),s=r(169);function o(e){return void 0===e&&(e=u),function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.errorFactory))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.errorFactory=r,n.hasValue=!1,n}return n.__extends(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(s.Subscriber);function u(){return new i.EmptyError}},function(e,t,r){"use strict";r.r(t),r.d(t,"take",(function(){return a}));var n=r(170),i=r(169),s=r(220),o=r(201);function a(e){return function(t){return 0===e?Object(o.empty)():t.lift(new c(e))}}var c=function(){function e(e){if(this.total=e,this.total<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},e}(),u=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"endWith",(function(){return s}));var n=r(237),i=r(202);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Object(n.concat)(t,i.of.apply(void 0,e))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"every",(function(){return s}));var n=r(170),i=r(169);function s(e,t){return function(r){return r.lift(new o(e,t,r))}}var o=function(){function e(e,t,r){this.predicate=e,this.thisArg=t,this.source=r}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg,this.source))},e}(),a=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s.predicate=r,s.thisArg=n,s.source=i,s.index=0,s.thisArg=n||s,s}return n.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"exhaust",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new c(e))},e}(),c=function(e){function t(t){var r=e.call(this,t)||this;return r.hasCompleted=!1,r.hasSubscription=!1,r}return n.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(s.subscribeToResult)(this,e)))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"exhaustMap",(function(){return u}));var n=r(170),i=r(227),s=r(229),o=r(228),a=r(224),c=r(241);function u(e,t){return t?function(r){return r.pipe(u((function(r,n){return Object(c.from)(e(r,n)).pipe(Object(a.map)((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new p(e))}}var p=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project))},e}(),l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.hasSubscription=!1,n.hasCompleted=!1,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.hasSubscription=!0,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=new s.InnerSubscriber(this,t,r),i=this.destination;i.add(n);var a=Object(o.subscribeToResult)(this,e,void 0,void 0,n);a!==n&&i.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"expand",(function(){return o})),r.d(t,"ExpandOperator",(function(){return a})),r.d(t,"ExpandSubscriber",(function(){return c}));var n=r(170),i=r(227),s=r(228);function o(e,t,r){return void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===r&&(r=void 0),t=(t||0)<1?Number.POSITIVE_INFINITY:t,function(n){return n.lift(new a(e,t,r))}}var a=function(){function e(e,t,r){this.project=e,this.concurrent=t,this.scheduler=r}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.project,this.concurrent,this.scheduler))},e}(),c=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s.project=r,s.concurrent=n,s.scheduler=i,s.index=0,s.active=0,s.hasCompleted=!1,n<Number.POSITIVE_INFINITY&&(s.buffer=[]),s}return n.__extends(t,e),t.dispatch=function(e){var t=e.subscriber,r=e.result,n=e.value,i=e.index;t.subscribeToProjection(r,n,i)},t.prototype._next=function(e){var r=this.destination;if(r.closed)this._complete();else{var n=this.index++;if(this.active<this.concurrent){r.next(e);try{var i=(0,this.project)(e,n);if(this.scheduler){var s={subscriber:this,result:i,value:e,index:n};this.destination.add(this.scheduler.schedule(t.dispatch,0,s))}else this.subscribeToProjection(i,e,n)}catch(e){r.error(e)}}else this.buffer.push(e)}},t.prototype.subscribeToProjection=function(e,t,r){this.active++,this.destination.add(Object(s.subscribeToResult)(this,e,t,r))},t.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,i){this._next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,t&&t.length>0&&this._next(t.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"finalize",(function(){return o}));var n=r(170),i=r(169),s=r(175);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.callback))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.add(new s.Subscription(r)),n}return n.__extends(t,e),t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"find",(function(){return s})),r.d(t,"FindValueOperator",(function(){return o})),r.d(t,"FindValueSubscriber",(function(){return a}));var n=r(170),i=r(169);function s(e,t){if("function"!=typeof e)throw new TypeError("predicate is not a function");return function(r){return r.lift(new o(e,r,!1,t))}}var o=function(){function e(e,t,r,n){this.predicate=e,this.source=t,this.yieldIndex=r,this.thisArg=n}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.source,this.yieldIndex,this.thisArg))},e}(),a=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;return o.predicate=r,o.source=n,o.yieldIndex=i,o.thisArg=s,o.index=0,o}return n.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete(),this.unsubscribe()},t.prototype._next=function(e){var t=this.predicate,r=this.thisArg,n=this.index++;try{t.call(r||this,e,n,this.source)&&this.notifyComplete(this.yieldIndex?n:e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"findIndex",(function(){return i}));var n=r(303);function i(e,t){return function(r){return r.lift(new n.FindValueOperator(e,r,!0,t))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"first",(function(){return u}));var n=r(221),i=r(262),s=r(296),o=r(286),a=r(295),c=r(183);function u(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?Object(i.filter)((function(t,r){return e(t,r,u)})):c.identity,Object(s.take)(1),r?Object(o.defaultIfEmpty)(t):Object(a.throwIfEmpty)((function(){return new n.EmptyError})))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"ignoreElements",(function(){return s}));var n=r(170),i=r(169);function s(){return function(e){return e.lift(new o)}}var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype._next=function(e){},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"isEmpty",(function(){return s}));var n=r(170),i=r(169);function s(){return function(e){return e.lift(new o)}}var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype.notifyComplete=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype._next=function(e){this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"last",(function(){return u}));var n=r(221),i=r(262),s=r(309),o=r(295),a=r(286),c=r(183);function u(e,t){var r=arguments.length>=2;return function(u){return u.pipe(e?Object(i.filter)((function(t,r){return e(t,r,u)})):c.identity,Object(s.takeLast)(1),r?Object(a.defaultIfEmpty)(t):Object(o.throwIfEmpty)((function(){return new n.EmptyError})))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"takeLast",(function(){return a}));var n=r(170),i=r(169),s=r(220),o=r(201);function a(e){return function(t){return 0===e?Object(o.empty)():t.lift(new c(e))}}var c=function(){function e(e){if(this.total=e,this.total<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.total))},e}(),u=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.ring=new Array,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.ring,r=this.total,n=this.count++;t.length<r?t.push(e):t[n%r]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var r=this.count>=this.total?this.total:this.count,n=this.ring,i=0;i<r;i++){var s=t++%r;e.next(n[s])}e.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"mapTo",(function(){return s}));var n=r(170),i=r(169);function s(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(e){this.value=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.value))},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return n.__extends(t,e),t.prototype._next=function(e){this.destination.next(this.value)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"materialize",(function(){return o}));var n=r(170),i=r(169),s=r(200);function o(){return function(e){return e.lift(new a)}}var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new c(e))},e}(),c=function(e){function t(t){return e.call(this,t)||this}return n.__extends(t,e),t.prototype._next=function(e){this.destination.next(s.Notification.createNext(e))},t.prototype._error=function(e){var t=this.destination;t.next(s.Notification.createError(e)),t.complete()},t.prototype._complete=function(){var e=this.destination;e.next(s.Notification.createComplete()),e.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"max",(function(){return i}));var n=r(313);function i(e){var t="function"==typeof e?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t};return Object(n.reduce)(t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"reduce",(function(){return a}));var n=r(314),i=r(309),s=r(286),o=r(182);function a(e,t){return arguments.length>=2?function(r){return Object(o.pipe)(Object(n.scan)(e,t),Object(i.takeLast)(1),Object(s.defaultIfEmpty)(t))(r)}:function(t){return Object(o.pipe)(Object(n.scan)((function(t,r,n){return e(t,r,n+1)})),Object(i.takeLast)(1))(t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"scan",(function(){return s}));var n=r(170),i=r(169);function s(e,t){var r=!1;return arguments.length>=2&&(r=!0),function(n){return n.lift(new o(e,t,r))}}var o=function(){function e(e,t,r){void 0===r&&(r=!1),this.accumulator=e,this.seed=t,this.hasSeed=r}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.accumulator,this.seed,this.hasSeed))},e}(),a=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s.accumulator=r,s._seed=n,s.hasSeed=i,s.index=0,s}return n.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.accumulator(this.seed,e,r)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"merge",(function(){return i}));var n=r(256);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(n.merge.apply(void 0,[t].concat(e)))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"mergeMapTo",(function(){return i}));var n=r(240);function i(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof t?Object(n.mergeMap)((function(){return e}),t,r):("number"==typeof t&&(r=t),Object(n.mergeMap)((function(){return e}),r))}},function(e,t,r){"use strict";r.r(t),r.d(t,"mergeScan",(function(){return a})),r.d(t,"MergeScanOperator",(function(){return c})),r.d(t,"MergeScanSubscriber",(function(){return u}));var n=r(170),i=r(228),s=r(227),o=r(229);function a(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(n){return n.lift(new c(e,t,r))}}var c=function(){function e(e,t,r){this.accumulator=e,this.seed=t,this.concurrent=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.accumulator,this.seed,this.concurrent))},e}(),u=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s.accumulator=r,s.acc=n,s.concurrent=i,s.hasValue=!1,s.hasCompleted=!1,s.buffer=[],s.active=0,s.index=0,s}return n.__extends(t,e),t.prototype._next=function(e){if(this.active<this.concurrent){var t=this.index++,r=this.destination,n=void 0;try{n=(0,this.accumulator)(this.acc,e,t)}catch(e){return r.error(e)}this.active++,this._innerSub(n,e,t)}else this.buffer.push(e)},t.prototype._innerSub=function(e,t,r){var n=new o.InnerSubscriber(this,t,r),s=this.destination;s.add(n);var a=Object(i.subscribeToResult)(this,e,void 0,void 0,n);a!==n&&s.add(a)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},t.prototype.notifyNext=function(e,t,r,n,i){var s=this.destination;this.acc=t,this.hasValue=!0,s.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.destination.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"min",(function(){return i}));var n=r(313);function i(e){var t="function"==typeof e?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t};return Object(n.reduce)(t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"multicast",(function(){return i})),r.d(t,"MulticastOperator",(function(){return s}));var n=r(184);function i(e,t){return function(r){var i;if(i="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new s(i,t));var o=Object.create(r,n.connectableObservableDescriptor);return o.source=r,o.subjectFactory=i,o}}var s=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"onErrorResumeNext",(function(){return u})),r.d(t,"onErrorResumeNextStatic",(function(){return p}));var n=r(170),i=r(241),s=r(176),o=r(227),a=r(229),c=r(228);function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===e.length&&Object(s.isArray)(e[0])&&(e=e[0]),function(t){return t.lift(new l(e))}}function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r;return 1===e.length&&Object(s.isArray)(e[0])&&(e=e[0]),r=e.shift(),Object(i.from)(r,null).lift(new l(e))}var l=function(){function e(e){this.nextSources=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.nextSources))},e}(),f=function(e){function t(t,r){var n=e.call(this,t)||this;return n.destination=t,n.nextSources=r,n}return n.__extends(t,e),t.prototype.notifyError=function(e,t){this.subscribeToNextSource()},t.prototype.notifyComplete=function(e){this.subscribeToNextSource()},t.prototype._error=function(e){this.subscribeToNextSource(),this.unsubscribe()},t.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},t.prototype.subscribeToNextSource=function(){var e=this.nextSources.shift();if(e){var t=new a.InnerSubscriber(this,void 0,void 0),r=this.destination;r.add(t);var n=Object(c.subscribeToResult)(this,e,void 0,void 0,t);n!==t&&r.add(n)}else this.destination.complete()},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"pairwise",(function(){return s}));var n=r(170),i=r(169);function s(){return function(e){return e.lift(new o)}}var o=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){var r=e.call(this,t)||this;return r.hasPrev=!1,r}return n.__extends(t,e),t.prototype._next=function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"partition",(function(){return s}));var n=r(261),i=r(262);function s(e,t){return function(r){return[Object(i.filter)(e,t)(r),Object(i.filter)(Object(n.not)(e,t))(r)]}}},function(e,t,r){"use strict";r.r(t),r.d(t,"pluck",(function(){return i}));var n=r(224);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return function(t){return Object(n.map)(function(e,t){return function(r){for(var n=r,i=0;i<t;i++){var s=n[e[i]];if(void 0===s)return;n=s}return n}}(e,r))(t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"publish",(function(){return s}));var n=r(185),i=r(319);function s(e){return e?Object(i.multicast)((function(){return new n.Subject}),e):Object(i.multicast)(new n.Subject)}},function(e,t,r){"use strict";r.r(t),r.d(t,"publishBehavior",(function(){return s}));var n=r(190),i=r(319);function s(e){return function(t){return Object(i.multicast)(new n.BehaviorSubject(e))(t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"publishLast",(function(){return s}));var n=r(208),i=r(319);function s(){return function(e){return Object(i.multicast)(new n.AsyncSubject)(e)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"publishReplay",(function(){return s}));var n=r(191),i=r(319);function s(e,t,r,s){r&&"function"!=typeof r&&(s=r);var o="function"==typeof r?r:void 0,a=new n.ReplaySubject(e,t,s);return function(e){return Object(i.multicast)((function(){return a}),o)(e)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"race",(function(){return s}));var n=r(176),i=r(263);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return 1===e.length&&Object(n.isArray)(e[0])&&(e=e[0]),t.lift.call(i.race.apply(void 0,[t].concat(e)))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"repeat",(function(){return o}));var n=r(170),i=r(169),s=r(201);function o(e){return void 0===e&&(e=-1),function(t){return 0===e?Object(s.empty)():e<0?t.lift(new a(-1,t)):t.lift(new a(e-1,t))}}var a=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.count,this.source))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.count=r,i.source=n,i}return n.__extends(t,e),t.prototype.complete=function(){if(!this.isStopped){var t=this.source,r=this.count;if(0===r)return e.prototype.complete.call(this);r>-1&&(this.count=r-1),t.subscribe(this._unsubscribeAndRecycle())}},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"repeatWhen",(function(){return a}));var n=r(170),i=r(185),s=r(227),o=r(228);function a(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,t))},e}(),u=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.notifier=r,i.source=n,i.sourceIsBeingSubscribedTo=!0,i}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},t.prototype.notifyComplete=function(t){if(!1===this.sourceIsBeingSubscribedTo)return e.prototype.complete.call(this)},t.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return e.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},t.prototype._unsubscribe=function(){var e=this.notifications,t=this.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype._unsubscribeAndRecycle=function(){var t=this._unsubscribe;return this._unsubscribe=null,e.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=t,this},t.prototype.subscribeToRetries=function(){var t;this.notifications=new i.Subject;try{t=(0,this.notifier)(this.notifications)}catch(t){return e.prototype.complete.call(this)}this.retries=t,this.retriesSubscription=Object(o.subscribeToResult)(this,t)},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"retry",(function(){return s}));var n=r(170),i=r(169);function s(e){return void 0===e&&(e=-1),function(t){return t.lift(new o(e,t))}}var o=function(){function e(e,t){this.count=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.count,this.source))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.count=r,i.source=n,i}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=this.source,n=this.count;if(0===n)return e.prototype.error.call(this,t);n>-1&&(this.count=n-1),r.subscribe(this._unsubscribeAndRecycle())}},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"retryWhen",(function(){return a}));var n=r(170),i=r(185),s=r(227),o=r(228);function a(e){return function(t){return t.lift(new c(e,t))}}var c=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier,this.source))},e}(),u=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.notifier=r,i.source=n,i}return n.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=this.errors,n=this.retries,s=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{r=new i.Subject;try{n=(0,this.notifier)(r)}catch(t){return e.prototype.error.call(this,t)}s=Object(o.subscribeToResult)(this,n)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=n,this.retriesSubscription=s,r.next(t)}},t.prototype._unsubscribe=function(){var e=this.errors,t=this.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),t&&(t.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,r,n,i){var s=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=s,this.source.subscribe(this)},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"sample",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var r=new c(e),n=t.subscribe(r);return n.add(Object(s.subscribeToResult)(r,this.notifier)),n},e}(),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hasValue=!1,t}return n.__extends(t,e),t.prototype._next=function(e){this.value=e,this.hasValue=!0},t.prototype.notifyNext=function(e,t,r,n,i){this.emitValue()},t.prototype.notifyComplete=function(){this.emitValue()},t.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"sampleTime",(function(){return o}));var n=r(170),i=r(169),s=r(213);function o(e,t){return void 0===t&&(t=s.async),function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){this.period=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.period,this.scheduler))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.period=r,i.scheduler=n,i.hasValue=!1,i.add(n.schedule(u,r,{subscriber:i,period:r})),i}return n.__extends(t,e),t.prototype._next=function(e){this.lastValue=e,this.hasValue=!0},t.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},t}(i.Subscriber);function u(e){var t=e.subscriber,r=e.period;t.notifyNext(),this.schedule(e,r)}},function(e,t,r){"use strict";r.r(t),r.d(t,"sequenceEqual",(function(){return s})),r.d(t,"SequenceEqualOperator",(function(){return o})),r.d(t,"SequenceEqualSubscriber",(function(){return a}));var n=r(170),i=r(169);function s(e,t){return function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.compareTo=e,this.comparator=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.compareTo,this.comparator))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.compareTo=r,i.comparator=n,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(r.subscribe(new c(t,i))),i}return n.__extends(t,e),t.prototype._next=function(e){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(e),this.checkValues())},t.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},t.prototype.checkValues=function(){for(var e=this._a,t=this._b,r=this.comparator;e.length>0&&t.length>0;){var n=e.shift(),i=t.shift(),s=!1;try{s=r?r(n,i):n===i}catch(e){this.destination.error(e)}s||this.emit(!1)}},t.prototype.emit=function(e){var t=this.destination;t.next(e),t.complete()},t.prototype.nextB=function(e){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(e),this.checkValues())},t.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},t}(i.Subscriber),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n.parent=r,n}return n.__extends(t,e),t.prototype._next=function(e){this.parent.nextB(e)},t.prototype._error=function(e){this.parent.error(e),this.unsubscribe()},t.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"share",(function(){return a}));var n=r(319),i=r(188),s=r(185);function o(){return new s.Subject}function a(){return function(e){return Object(i.refCount)()(Object(n.multicast)(o)(e))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"shareReplay",(function(){return i}));var n=r(191);function i(e,t,r){var i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:r},function(e){return e.lift(function(e){var t,r,i=e.bufferSize,s=void 0===i?Number.POSITIVE_INFINITY:i,o=e.windowTime,a=void 0===o?Number.POSITIVE_INFINITY:o,c=e.refCount,u=e.scheduler,p=0,l=!1,f=!1;return function(e){p++,t&&!l||(l=!1,t=new n.ReplaySubject(s,a,u),r=e.subscribe({next:function(e){t.next(e)},error:function(e){l=!0,t.error(e)},complete:function(){f=!0,r=void 0,t.complete()}}));var i=t.subscribe(this);this.add((function(){p--,i.unsubscribe(),r&&!f&&c&&0===p&&(r.unsubscribe(),r=void 0,t=void 0)}))}}(i))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"single",(function(){return o}));var n=r(170),i=r(169),s=r(221);function o(e){return function(t){return t.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.predicate,this.source))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.source=n,i.seenValue=!1,i.index=0,i}return n.__extends(t,e),t.prototype.applySingleValue=function(e){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=e)},t.prototype._next=function(e){var t=this.index++;this.predicate?this.tryNext(e,t):this.applySingleValue(e)},t.prototype.tryNext=function(e,t){try{this.predicate(e,t,this.source)&&this.applySingleValue(e)}catch(e){this.destination.error(e)}},t.prototype._complete=function(){var e=this.destination;this.index>0?(e.next(this.seenValue?this.singleValue:void 0),e.complete()):e.error(new s.EmptyError)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"skip",(function(){return s}));var n=r(170),i=r(169);function s(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(e){this.total=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.total))},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.total=r,n.count=0,n}return n.__extends(t,e),t.prototype._next=function(e){++this.count>this.total&&this.destination.next(e)},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"skipLast",(function(){return o}));var n=r(170),i=r(169),s=r(220);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){if(this._skipCount=e,this._skipCount<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return 0===this._skipCount?t.subscribe(new i.Subscriber(e)):t.subscribe(new c(e,this._skipCount))},e}(),c=function(e){function t(t,r){var n=e.call(this,t)||this;return n._skipCount=r,n._count=0,n._ring=new Array(r),n}return n.__extends(t,e),t.prototype._next=function(e){var t=this._skipCount,r=this._count++;if(r<t)this._ring[r]=e;else{var n=r%t,i=this._ring,s=i[n];i[n]=e,this.destination.next(s)}},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"skipUntil",(function(){return a}));var n=r(170),i=r(227),s=r(229),o=r(228);function a(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier))},e}(),u=function(e){function t(t,r){var n=e.call(this,t)||this;n.hasValue=!1;var i=new s.InnerSubscriber(n,void 0,void 0);n.add(i),n.innerSubscription=i;var a=Object(o.subscribeToResult)(n,r,void 0,void 0,i);return a!==i&&(n.add(a),n.innerSubscription=a),n}return n.__extends(t,e),t.prototype._next=function(t){this.hasValue&&e.prototype._next.call(this,t)},t.prototype.notifyNext=function(e,t,r,n,i){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},t.prototype.notifyComplete=function(){},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"skipWhile",(function(){return s}));var n=r(170),i=r(169);function s(e){return function(t){return t.lift(new o(e))}}var o=function(){function e(e){this.predicate=e}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate))},e}(),a=function(e){function t(t,r){var n=e.call(this,t)||this;return n.predicate=r,n.skipping=!0,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)},t.prototype.tryCallPredicate=function(e){try{var t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"startWith",(function(){return s}));var n=r(237),i=r(203);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[e.length-1];return Object(i.isScheduler)(r)?(e.pop(),function(t){return Object(n.concat)(e,t,r)}):function(t){return Object(n.concat)(e,t)}}},function(e,t,r){"use strict";r.r(t),r.d(t,"subscribeOn",(function(){return i}));var n=r(345);function i(e,t){return void 0===t&&(t=0),function(r){return r.lift(new s(e,t))}}var s=function(){function e(e,t){this.scheduler=e,this.delay=t}return e.prototype.call=function(e,t){return new n.SubscribeOnObservable(t,this.delay,this.scheduler).subscribe(e)},e}()},function(e,t,r){"use strict";r.r(t),r.d(t,"SubscribeOnObservable",(function(){return a}));var n=r(170),i=r(167),s=r(209),o=r(255),a=function(e){function t(t,r,n){void 0===r&&(r=0),void 0===n&&(n=s.asap);var i=e.call(this)||this;return i.source=t,i.delayTime=r,i.scheduler=n,(!Object(o.isNumeric)(r)||r<0)&&(i.delayTime=0),n&&"function"==typeof n.schedule||(i.scheduler=s.asap),i}return n.__extends(t,e),t.create=function(e,r,n){return void 0===r&&(r=0),void 0===n&&(n=s.asap),new t(e,r,n)},t.dispatch=function(e){var t=e.source,r=e.subscriber;return this.add(t.subscribe(r))},t.prototype._subscribe=function(e){var r=this.delayTime,n=this.source;return this.scheduler.schedule(t.dispatch,r,{source:n,subscriber:e})},t}(i.Observable)},function(e,t,r){"use strict";r.r(t),r.d(t,"switchAll",(function(){return s}));var n=r(347),i=r(183);function s(){return Object(n.switchMap)(i.identity)}},function(e,t,r){"use strict";r.r(t),r.d(t,"switchMap",(function(){return u}));var n=r(170),i=r(227),s=r(229),o=r(228),a=r(224),c=r(241);function u(e,t){return"function"==typeof t?function(r){return r.pipe(u((function(r,n){return Object(c.from)(e(r,n)).pipe(Object(a.map)((function(e,i){return t(r,e,n,i)})))})))}:function(t){return t.lift(new p(e))}}var p=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project))},e}(),l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.project=r,n.index=0,n}return n.__extends(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=this.innerSubscription;n&&n.unsubscribe();var i=new s.InnerSubscriber(this,t,r),a=this.destination;a.add(i),this.innerSubscription=Object(o.subscribeToResult)(this,e,void 0,void 0,i),this.innerSubscription!==i&&a.add(this.innerSubscription)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"switchMapTo",(function(){return i}));var n=r(347);function i(e,t){return t?Object(n.switchMap)((function(){return e}),t):Object(n.switchMap)((function(){return e}))}},function(e,t,r){"use strict";r.r(t),r.d(t,"takeUntil",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var r=new c(e),n=Object(s.subscribeToResult)(r,this.notifier);return n&&!r.seenValue?(r.add(n),t.subscribe(r)):r},e}(),c=function(e){function t(t){var r=e.call(this,t)||this;return r.seenValue=!1,r}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"takeWhile",(function(){return s}));var n=r(170),i=r(169);function s(e,t){return void 0===t&&(t=!1),function(r){return r.lift(new o(e,t))}}var o=function(){function e(e,t){this.predicate=e,this.inclusive=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.inclusive))},e}(),a=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.predicate=r,i.inclusive=n,i.index=0,i}return n.__extends(t,e),t.prototype._next=function(e){var t,r=this.destination;try{t=this.predicate(e,this.index++)}catch(e){return void r.error(e)}this.nextOrComplete(e,t)},t.prototype.nextOrComplete=function(e,t){var r=this.destination;Boolean(t)?r.next(e):(this.inclusive&&r.next(e),r.complete())},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"tap",(function(){return a}));var n=r(170),i=r(169),s=r(218),o=r(171);function a(e,t,r){return function(n){return n.lift(new c(e,t,r))}}var c=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.nextOrObserver,this.error,this.complete))},e}(),u=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a._tapNext=s.noop,a._tapError=s.noop,a._tapComplete=s.noop,a._tapError=n||s.noop,a._tapComplete=i||s.noop,Object(o.isFunction)(r)?(a._context=a,a._tapNext=r):r&&(a._context=r,a._tapNext=r.next||s.noop,a._tapError=r.error||s.noop,a._tapComplete=r.complete||s.noop),a}return n.__extends(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"defaultThrottleConfig",(function(){return o})),r.d(t,"throttle",(function(){return a}));var n=r(170),i=r(227),s=r(228),o={leading:!0,trailing:!1};function a(e,t){return void 0===t&&(t=o),function(r){return r.lift(new c(e,t.leading,t.trailing))}}var c=function(){function e(e,t,r){this.durationSelector=e,this.leading=t,this.trailing=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.durationSelector,this.leading,this.trailing))},e}(),u=function(e){function t(t,r,n,i){var s=e.call(this,t)||this;return s.destination=t,s.durationSelector=r,s._leading=n,s._trailing=i,s._hasValue=!1,s}return n.__extends(t,e),t.prototype._next=function(e){this._hasValue=!0,this._sendValue=e,this._throttled||(this._leading?this.send():this.throttle(e))},t.prototype.send=function(){var e=this._hasValue,t=this._sendValue;e&&(this.destination.next(t),this.throttle(t)),this._hasValue=!1,this._sendValue=null},t.prototype.throttle=function(e){var t=this.tryDurationSelector(e);t&&this.add(this._throttled=Object(s.subscribeToResult)(this,t))},t.prototype.tryDurationSelector=function(e){try{return this.durationSelector(e)}catch(e){return this.destination.error(e),null}},t.prototype.throttlingDone=function(){var e=this._throttled,t=this._trailing;e&&e.unsubscribe(),this._throttled=null,t&&this.send()},t.prototype.notifyNext=function(e,t,r,n,i){this.throttlingDone()},t.prototype.notifyComplete=function(){this.throttlingDone()},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"throttleTime",(function(){return a}));var n=r(170),i=r(169),s=r(213),o=r(352);function a(e,t,r){return void 0===t&&(t=s.async),void 0===r&&(r=o.defaultThrottleConfig),function(n){return n.lift(new c(e,t,r.leading,r.trailing))}}var c=function(){function e(e,t,r,n){this.duration=e,this.scheduler=t,this.leading=r,this.trailing=n}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.duration,this.scheduler,this.leading,this.trailing))},e}(),u=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;return o.duration=r,o.scheduler=n,o.leading=i,o.trailing=s,o._hasTrailingValue=!1,o._trailingValue=null,o}return n.__extends(t,e),t.prototype._next=function(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(p,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))},t.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)},t}(i.Subscriber);function p(e){e.subscriber.clearThrottle()}},function(e,t,r){"use strict";r.r(t),r.d(t,"timeInterval",(function(){return a})),r.d(t,"TimeInterval",(function(){return c}));var n=r(213),i=r(314),s=r(248),o=r(224);function a(e){return void 0===e&&(e=n.async),function(t){return Object(s.defer)((function(){return t.pipe(Object(i.scan)((function(t,r){var n=t.current;return{value:r,current:e.now(),last:n}}),{current:e.now(),value:void 0,last:void 0}),Object(o.map)((function(e){var t=e.current,r=e.last,n=e.value;return new c(n,t-r)})))}))}}var c=function(){return function(e,t){this.value=e,this.interval=t}}()},function(e,t,r){"use strict";r.r(t),r.d(t,"timeout",(function(){return a}));var n=r(213),i=r(222),s=r(356),o=r(207);function a(e,t){return void 0===t&&(t=n.async),Object(s.timeoutWith)(e,Object(o.throwError)(new i.TimeoutError),t)}},function(e,t,r){"use strict";r.r(t),r.d(t,"timeoutWith",(function(){return c}));var n=r(170),i=r(213),s=r(288),o=r(227),a=r(228);function c(e,t,r){return void 0===r&&(r=i.async),function(n){var i=Object(s.isDate)(e),o=i?+e-r.now():Math.abs(e);return n.lift(new u(o,i,t,r))}}var u=function(){function e(e,t,r,n){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},e}(),p=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;return o.absoluteTimeout=r,o.waitFor=n,o.withObservable=i,o.scheduler=s,o.action=null,o.scheduleTimeout(),o}return n.__extends(t,e),t.dispatchTimeout=function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(a.subscribeToResult)(e,t))},t.prototype.scheduleTimeout=function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(t.dispatchTimeout,this.waitFor,this))},t.prototype._next=function(t){this.absoluteTimeout||this.scheduleTimeout(),e.prototype._next.call(this,t)},t.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"timestamp",(function(){return s})),r.d(t,"Timestamp",(function(){return o}));var n=r(213),i=r(224);function s(e){return void 0===e&&(e=n.async),Object(i.map)((function(t){return new o(t,e.now())}))}var o=function(){return function(e,t){this.value=e,this.timestamp=t}}()},function(e,t,r){"use strict";r.r(t),r.d(t,"toArray",(function(){return s}));var n=r(313);function i(e,t,r){return 0===r?[t]:(e.push(t),e)}function s(){return Object(n.reduce)(i,[])}},function(e,t,r){"use strict";r.r(t),r.d(t,"window",(function(){return a}));var n=r(170),i=r(185),s=r(227),o=r(228);function a(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.windowBoundaries=e}return e.prototype.call=function(e,t){var r=new u(e),n=t.subscribe(r);return n.closed||r.add(Object(o.subscribeToResult)(r,this.windowBoundaries)),n},e}(),u=function(e){function t(t){var r=e.call(this,t)||this;return r.window=new i.Subject,t.next(r.window),r}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.openWindow()},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this._complete()},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e)},t.prototype._complete=function(){this.window.complete(),this.destination.complete()},t.prototype._unsubscribe=function(){this.window=null},t.prototype.openWindow=function(){var e=this.window;e&&e.complete();var t=this.destination,r=this.window=new i.Subject;t.next(r)},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"windowCount",(function(){return o}));var n=r(170),i=r(169),s=r(185);function o(e,t){return void 0===t&&(t=0),function(r){return r.lift(new a(e,t))}}var a=function(){function e(e,t){this.windowSize=e,this.startWindowEvery=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.windowSize,this.startWindowEvery))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.destination=t,i.windowSize=r,i.startWindowEvery=n,i.windows=[new s.Subject],i.count=0,t.next(i.windows[0]),i}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,r=this.destination,n=this.windowSize,i=this.windows,o=i.length,a=0;a<o&&!this.closed;a++)i[a].next(e);var c=this.count-n+1;if(c>=0&&c%t==0&&!this.closed&&i.shift().complete(),++this.count%t==0&&!this.closed){var u=new s.Subject;i.push(u),r.next(u)}},t.prototype._error=function(e){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().complete();this.destination.complete()},t.prototype._unsubscribe=function(){this.count=0,this.windows=null},t}(i.Subscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"windowTime",(function(){return u}));var n=r(170),i=r(185),s=r(213),o=r(169),a=r(255),c=r(203);function u(e){var t=s.async,r=null,n=Number.POSITIVE_INFINITY;return Object(c.isScheduler)(arguments[3])&&(t=arguments[3]),Object(c.isScheduler)(arguments[2])?t=arguments[2]:Object(a.isNumeric)(arguments[2])&&(n=arguments[2]),Object(c.isScheduler)(arguments[1])?t=arguments[1]:Object(a.isNumeric)(arguments[1])&&(r=arguments[1]),function(i){return i.lift(new p(e,r,n,t))}}var p=function(){function e(e,t,r,n){this.windowTimeSpan=e,this.windowCreationInterval=t,this.maxWindowSize=r,this.scheduler=n}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},e}(),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._numberOfNextedValues=0,t}return n.__extends(t,e),t.prototype.next=function(t){this._numberOfNextedValues++,e.prototype.next.call(this,t)},Object.defineProperty(t.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),t}(i.Subject),f=function(e){function t(t,r,n,i,s){var o=e.call(this,t)||this;o.destination=t,o.windowTimeSpan=r,o.windowCreationInterval=n,o.maxWindowSize=i,o.scheduler=s,o.windows=[];var a=o.openWindow();if(null!==n&&n>=0){var c={subscriber:o,window:a,context:null},u={windowTimeSpan:r,windowCreationInterval:n,subscriber:o,scheduler:s};o.add(s.schedule(d,r,c)),o.add(s.schedule(h,n,u))}else{var p={subscriber:o,window:a,windowTimeSpan:r};o.add(s.schedule(m,r,p))}return o}return n.__extends(t,e),t.prototype._next=function(e){for(var t=this.windows,r=t.length,n=0;n<r;n++){var i=t[n];i.closed||(i.next(e),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},t.prototype._error=function(e){for(var t=this.windows;t.length>0;)t.shift().error(e);this.destination.error(e)},t.prototype._complete=function(){for(var e=this.windows;e.length>0;){var t=e.shift();t.closed||t.complete()}this.destination.complete()},t.prototype.openWindow=function(){var e=new l;return this.windows.push(e),this.destination.next(e),e},t.prototype.closeWindow=function(e){e.complete();var t=this.windows;t.splice(t.indexOf(e),1)},t}(o.Subscriber);function m(e){var t=e.subscriber,r=e.windowTimeSpan,n=e.window;n&&t.closeWindow(n),e.window=t.openWindow(),this.schedule(e,r)}function h(e){var t=e.windowTimeSpan,r=e.subscriber,n=e.scheduler,i=e.windowCreationInterval,s=r.openWindow(),o={action:this,subscription:null},a={subscriber:r,window:s,context:o};o.subscription=n.schedule(d,t,a),this.add(o.subscription),this.schedule(e,i)}function d(e){var t=e.subscriber,r=e.window,n=e.context;n&&n.action&&n.subscription&&n.action.remove(n.subscription),t.closeWindow(r)}},function(e,t,r){"use strict";r.r(t),r.d(t,"windowToggle",(function(){return c}));var n=r(170),i=r(185),s=r(175),o=r(227),a=r(228);function c(e,t){return function(r){return r.lift(new u(e,t))}}var u=function(){function e(e,t){this.openings=e,this.closingSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new p(e,this.openings,this.closingSelector))},e}(),p=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.openings=r,i.closingSelector=n,i.contexts=[],i.add(i.openSubscription=Object(a.subscribeToResult)(i,r,r)),i}return n.__extends(t,e),t.prototype._next=function(e){var t=this.contexts;if(t)for(var r=t.length,n=0;n<r;n++)t[n].window.next(e)},t.prototype._error=function(t){var r=this.contexts;if(this.contexts=null,r)for(var n=r.length,i=-1;++i<n;){var s=r[i];s.window.error(t),s.subscription.unsubscribe()}e.prototype._error.call(this,t)},t.prototype._complete=function(){var t=this.contexts;if(this.contexts=null,t)for(var r=t.length,n=-1;++n<r;){var i=t[n];i.window.complete(),i.subscription.unsubscribe()}e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.contexts;if(this.contexts=null,e)for(var t=e.length,r=-1;++r<t;){var n=e[r];n.window.unsubscribe(),n.subscription.unsubscribe()}},t.prototype.notifyNext=function(e,t,r,n,o){if(e===this.openings){var c=void 0;try{c=(0,this.closingSelector)(t)}catch(e){return this.error(e)}var u=new i.Subject,p=new s.Subscription,l={window:u,subscription:p};this.contexts.push(l);var f=Object(a.subscribeToResult)(this,c,l);f.closed?this.closeWindow(this.contexts.length-1):(f.context=l,p.add(f)),this.destination.next(u)}else this.closeWindow(this.contexts.indexOf(e))},t.prototype.notifyError=function(e){this.error(e)},t.prototype.notifyComplete=function(e){e!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(e.context))},t.prototype.closeWindow=function(e){if(-1!==e){var t=this.contexts,r=t[e],n=r.window,i=r.subscription;t.splice(e,1),n.complete(),i.unsubscribe()}},t}(o.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"windowWhen",(function(){return a}));var n=r(170),i=r(185),s=r(227),o=r(228);function a(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(e){this.closingSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.closingSelector))},e}(),u=function(e){function t(t,r){var n=e.call(this,t)||this;return n.destination=t,n.closingSelector=r,n.openWindow(),n}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.openWindow(i)},t.prototype.notifyError=function(e,t){this._error(e)},t.prototype.notifyComplete=function(e){this.openWindow(e)},t.prototype._next=function(e){this.window.next(e)},t.prototype._error=function(e){this.window.error(e),this.destination.error(e),this.unsubscribeClosingNotification()},t.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},t.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},t.prototype.openWindow=function(e){void 0===e&&(e=null),e&&(this.remove(e),e.unsubscribe());var t=this.window;t&&t.complete();var r,n=this.window=new i.Subject;this.destination.next(n);try{r=(0,this.closingSelector)()}catch(e){return this.destination.error(e),void this.window.error(e)}this.add(this.closingNotification=Object(o.subscribeToResult)(this,r))},t}(s.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"withLatestFrom",(function(){return o}));var n=r(170),i=r(227),s=r(228);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var r;"function"==typeof e[e.length-1]&&(r=e.pop());var n=e;return t.lift(new a(n,r))}}var a=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.observables,this.project))},e}(),c=function(e){function t(t,r,n){var i=e.call(this,t)||this;i.observables=r,i.project=n,i.toRespond=[];var o=r.length;i.values=new Array(o);for(var a=0;a<o;a++)i.toRespond.push(a);for(a=0;a<o;a++){var c=r[a];i.add(Object(s.subscribeToResult)(i,c,c,a))}return i}return n.__extends(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.values[r]=t;var s=this.toRespond;if(s.length>0){var o=s.indexOf(r);-1!==o&&s.splice(o,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(i.OuterSubscriber)},function(e,t,r){"use strict";r.r(t),r.d(t,"zip",(function(){return i}));var n=r(267);function i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return t.lift.call(n.zip.apply(void 0,[t].concat(e)))}}},function(e,t,r){"use strict";r.r(t),r.d(t,"zipAll",(function(){return i}));var n=r(267);function i(e){return function(t){return t.lift(new n.ZipOperator(e))}}},,,,function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(r(61)),o=n(r(14)),a=r(13),c=r(166),u=r(269),p=r(149),l=r(40),f=r(44),m=r(47),h={},d={},_=[],g=100,y=3,R=f.projectRootPatterns;process.on("message",(function(e){var t=e.uri,r=e.config;t&&(i?i.next(t):_.push(t)),r&&(void 0!==r.gap&&(g=r.gap),void 0!==r.count&&(y=r.count),void 0!==r.projectRootPatterns&&(R=r.projectRootPatterns),i||((i=new c.Subject).pipe(u.concatMap((function(e){return c.from(m.findProjectRoot(p.URI.parse(e).fsPath,R)).pipe(u.switchMap((function(e){return c.from(m.getRealPath(e))})),u.filter((function(e){return e&&e!==o.default.homedir()})),u.map((function(t){return{uri:e,projectRoot:t}})))})),u.filter((function(e){var t=e.projectRoot;return!h[t]&&(h[t]=!0,!0)})),u.concatMap((function(e){var t=e.projectRoot,r=a.join(t,"**/*.vim");return c.from(s.default([r,"!**/node_modules/**"])).pipe(u.catchError((function(e){return process.send({msglog:["Index Workspace Error: "+r,"Error => "+(e.stack||e.message||e)].join("\n")}),c.of(void 0)})),u.filter((function(e){return e&&e.length>0})),u.concatMap((function(e){return c.of.apply(void 0,e.sort((function(e,t){return e.length-t.length}))).pipe(u.filter((function(e){return!d[e]&&(d[e]=!0,!0)})),u.mergeMap((function(e){return c.timer(g).pipe(u.concatMap((function(){var t=l.readFileSync(e).toString();return c.from(m.handleParse(t)).pipe(u.filter((function(e){return null!==e[0]})),u.map((function(t){return{node:t[0],uri:p.URI.file(e).toString()}})),u.catchError((function(t){return process.send({msglog:e+":\n"+(t.stack||t.message||t)}),c.of(void 0)})))})))}),y))})))})),u.filter((function(e){return!!e}))).subscribe((function(e){process.send({data:e})}),(function(e){process.send({msglog:e.stack||e.message||e})})),_.length&&(_.forEach((function(e){i.next(e)})),_=[])))}))}]))}]));