vzcode 2.22.0 → 2.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/assets/{buildWorker-Bi6wsfQk.js → buildWorker-DylWm2VX.js} +64 -72
  2. package/dist/assets/index-CkFweu5-.js +403 -0
  3. package/dist/assets/{index-fSroLVgi.css → index-Dyt9tpmu.css} +1 -5
  4. package/dist/assets/{worker-BSzbM0Uo.js → worker-VPLhQVba.js} +230 -230
  5. package/dist/assets/worker-b9bkZkXK.js +116 -0
  6. package/dist/assets/{worker-Cm3I3tnR.js → worker-k7HZ3t-V.js} +3 -20
  7. package/dist/index.html +2 -2
  8. package/dist/llm-streaming-server/chatOperations.js +19 -0
  9. package/dist/llm-streaming-server/llmStreaming.js +18 -13
  10. package/dist/server/aiChatHandler/index.js +4 -2
  11. package/package.json +22 -21
  12. package/src/llm-streaming-server/chatOperations.ts +27 -0
  13. package/src/llm-streaming-server/llmStreaming.ts +24 -14
  14. package/src/llm-streaming-ui/components/Message.tsx +8 -7
  15. package/src/llm-streaming-ui/components/MessageList.tsx +5 -0
  16. package/src/llm-streaming-ui/components/index.tsx +2 -2
  17. package/src/llm-streaming-ui/components/styles.scss +10 -0
  18. package/src/server/aiChatHandler/index.ts +6 -0
  19. package/src/types.ts +1 -0
  20. package/dist/assets/index-CfDs-dAu.js +0 -476
  21. package/dist/assets/worker-KiuLM-X4.js +0 -136
  22. package/dist/server/aiChatHandler/aiEditing.js +0 -58
  23. package/dist/server/aiChatHandler/chatOperations.js +0 -494
  24. package/dist/server/aiChatHandler/errorHandling.js +0 -49
  25. package/dist/server/aiChatHandler/llmStreaming.js +0 -265
  26. package/dist/server/aiChatHandler/validation.js +0 -19
  27. package/src/client/VZSidebar/AIChat/ChatInput.tsx +0 -237
  28. package/src/client/VZSidebar/AIChat/DiffView.scss +0 -173
  29. package/src/client/VZSidebar/AIChat/DiffView.tsx +0 -236
  30. package/src/client/VZSidebar/AIChat/FileEditingIndicator.tsx +0 -89
  31. package/src/client/VZSidebar/AIChat/IndividualFileDiff.tsx +0 -86
  32. package/src/client/VZSidebar/AIChat/JumpToLatestButton.tsx +0 -64
  33. package/src/client/VZSidebar/AIChat/Message.tsx +0 -145
  34. package/src/client/VZSidebar/AIChat/MessageList.tsx +0 -241
  35. package/src/client/VZSidebar/AIChat/ThinkingScratchpad.tsx +0 -42
  36. package/src/client/VZSidebar/AIChat/TypingIndicator.tsx +0 -19
  37. package/src/client/VZSidebar/AIChat/index.tsx +0 -388
  38. package/src/client/VZSidebar/AIChat/styles.scss +0 -831
  39. package/src/client/VZSidebar/AIChat/useSpeechRecognition.ts +0 -116
  40. package/src/server/aiChatHandler/aiEditing.ts +0 -102
  41. package/src/server/aiChatHandler/chatOperations.ts +0 -655
  42. package/src/server/aiChatHandler/errorHandling.ts +0 -66
  43. package/src/server/aiChatHandler/llmStreaming.ts +0 -403
  44. package/src/server/aiChatHandler/validation.ts +0 -24
@@ -1,18 +1,5 @@
1
- (function(){"use strict";var uFe={};function qP(){return qP=Object.assign?Object.assign.bind():function(Or){for(var Bn=1;Bn<arguments.length;Bn++){var xi=arguments[Bn];for(var zs in xi)Object.prototype.hasOwnProperty.call(xi,zs)&&(Or[zs]=xi[zs])}return Or},qP.apply(this,arguments)}var Cge=!1;try{Cge=typeof localStorage<"u"}catch{}var _Fe=typeof process<"u",fFe=Cge&&localStorage.getItem("DEBUG")||_Fe&&uFe.DEBUG,Ege=fFe?console.log:function(Or){return""};function pFe(Or,Bn,xi,zs,$a){zs===void 0&&(zs={});var xs=qP({},Dge(xi),zs),xc=hFe(Or,Bn,xs,xi,$a),_o=xc.languageServiceHost,Yc=xc.updateFile,co=xc.deleteFile,kc=xi.createLanguageService(_o),Ue=kc.getCompilerOptionsDiagnostics();if(Ue.length){var Rl=Pge(Or,zs,xi);throw new Error(xi.formatDiagnostics(Ue,Rl.compilerHost))}return{name:"vfs",sys:Or,languageService:kc,getSourceFile:function(Qt){var Tl;return(Tl=kc.getProgram())==null?void 0:Tl.getSourceFile(Qt)},createFile:function(Qt,Tl){Yc(xi.createSourceFile(Qt,Tl,xs.target,!1))},updateFile:function(Qt,Tl,Ka){var Q2=kc.getProgram().getSourceFile(Qt);if(!Q2)throw new Error("Did not find a source file for "+Qt);var aD=Q2.text,ZT=Ka??xi.createTextSpan(0,aD.length),GP=aD.slice(0,ZT.start)+Tl+aD.slice(ZT.start+ZT.length),Pi=xi.updateSourceFile(Q2,GP,{span:ZT,newLength:Tl.length});Yc(Pi)},deleteFile:function(Qt){var Tl=kc.getProgram().getSourceFile(Qt);Tl&&co(Tl)}}}var dFe=function(Bn,xi){var zs=Bn.target||xi.ScriptTarget.ES5,$a=Bn.lib||[],xs=["lib.d.ts","lib.core.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.dom.asynciterable.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.webworker.asynciterable.d.ts","lib.webworker.d.ts","lib.webworker.importscripts.d.ts","lib.webworker.iterable.d.ts","lib.scripthost.d.ts","lib.es5.d.ts","lib.es6.d.ts","lib.es7.d.ts","lib.core.es6.d.ts","lib.core.es7.d.ts","lib.es2015.collection.d.ts","lib.es2015.core.d.ts","lib.es2015.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.d.ts","lib.es2016.full.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.d.ts","lib.es2017.date.d.ts","lib.es2017.full.d.ts","lib.es2017.intl.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.d.ts","lib.es2018.full.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.d.ts","lib.es2019.full.d.ts","lib.es2019.intl.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2020.bigint.d.ts","lib.es2020.d.ts","lib.es2020.date.d.ts","lib.es2020.full.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2021.d.ts","lib.es2021.full.d.ts","lib.es2021.intl.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2022.array.d.ts","lib.es2022.d.ts","lib.es2022.error.d.ts","lib.es2022.full.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.regexp.d.ts","lib.es2022.sharedmemory.d.ts","lib.es2022.string.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.d.ts","lib.es2023.full.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.d.ts","lib.es2024.full.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.esnext.array.d.ts","lib.esnext.asynciterable.d.ts","lib.esnext.bigint.d.ts","lib.esnext.collection.d.ts","lib.esnext.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.float16.d.ts","lib.esnext.full.d.ts","lib.esnext.intl.d.ts","lib.esnext.iterator.d.ts","lib.esnext.object.d.ts","lib.esnext.promise.d.ts","lib.esnext.regexp.d.ts","lib.esnext.string.d.ts","lib.esnext.symbol.d.ts","lib.esnext.weakref.d.ts"],xc=xi.ScriptTarget[zs],_o=xs.filter(function(yr){return yr.startsWith("lib."+xc.toLowerCase())}),Yc=xs.indexOf(_o.pop()),co=function(Qt){return Qt&&Qt.length?Qt.reduce(function(Tl,Ka){return Ka>Tl?Ka:Tl}):void 0},kc=$a.map(function(yr){var Qt=xs.filter(function(Ka){return Ka.startsWith("lib."+yr.toLowerCase())});if(Qt.length===0)return 0;var Tl=xs.indexOf(Qt.pop());return Tl}),Ue=co(kc)||0,Rl=Math.max(Yc,Ue);return xs.slice(0,Rl+1)},mFe=function(Bn,xi,zs,$a,xs,xc,_o){var Yc=fetch,co=new Map,kc=dFe(Bn,$a),Ue="https://playgroundcdn.typescriptlang.org/cdn/"+xi+"/typescript/lib/";function Rl(){return Promise.all(kc.map(function(Qt){return Yc(Ue+Qt).then(function(Tl){return Tl.text()})})).then(function(Qt){Qt.forEach(function(Tl,Ka){return co.set("/"+kc[Ka],Tl)})}).catch(function(){})}var yr=Rl;return yr().then(function(){return co})};function AR(Or){throw new Error("Method '"+Or+"' is not implemented.")}function IR(Or,Bn){return function(){for(var xi=arguments.length,zs=new Array(xi),$a=0;$a<xi;$a++)zs[$a]=arguments[$a];var xs=Bn.apply(void 0,zs),xc=typeof xs=="string"?xs.slice(0,80)+"...":xs;return Ege.apply(void 0,["> "+Or].concat(zs)),Ege("< "+xc),xs}}var Dge=function(Bn){return qP({},Bn.getDefaultCompilerOptions(),{jsx:Bn.JsxEmit.React,strict:!0,esModuleInterop:!0,module:Bn.ModuleKind.ESNext,suppressOutputPathCheck:!0,skipLibCheck:!0,skipDefaultLibCheck:!0,moduleResolution:Bn.ModuleResolutionKind.NodeJs})},wge=function(Bn){return Bn.replace("/","/lib.").toLowerCase()};function gFe(Or){return{args:[],createDirectory:function(){return AR("createDirectory")},directoryExists:IR("directoryExists",function(Bn){return Array.from(Or.keys()).some(function(xi){return xi.startsWith(Bn)})}),exit:function(){return AR("exit")},fileExists:IR("fileExists",function(Bn){return Or.has(Bn)||Or.has(wge(Bn))}),getCurrentDirectory:function(){return"/"},getDirectories:function(){return[]},getExecutingFilePath:function(){return AR("getExecutingFilePath")},readDirectory:IR("readDirectory",function(Bn){return Bn==="/"?Array.from(Or.keys()):[]}),readFile:IR("readFile",function(Bn){var xi;return(xi=Or.get(Bn))!=null?xi:Or.get(wge(Bn))}),resolvePath:function(xi){return xi},newLine:`
2
- `,useCaseSensitiveFileNames:!0,write:function(){return AR("write")},writeFile:function(xi,zs){Or.set(xi,zs)},deleteFile:function(xi){Or.delete(xi)}}}function Pge(Or,Bn,xi){var zs=new Map,$a=function(_o){return zs.set(_o.fileName,_o),_o},xs={compilerHost:qP({},Or,{getCanonicalFileName:function(_o){return _o},getDefaultLibFileName:function(){return"/"+xi.getDefaultLibFileName(Bn)},getNewLine:function(){return Or.newLine},getSourceFile:function(_o,Yc){var co;return zs.get(_o)||$a(xi.createSourceFile(_o,Or.readFile(_o),(co=Yc??Bn.target)!=null?co:Dge(xi).target,!1))},useCaseSensitiveFileNames:function(){return Or.useCaseSensitiveFileNames}}),updateFile:function(_o){var Yc=zs.has(_o.fileName);return Or.writeFile(_o.fileName,_o.text),zs.set(_o.fileName,_o),Yc},deleteFile:function(_o){var Yc=zs.has(_o.fileName);return zs.delete(_o.fileName),Or.deleteFile(_o.fileName),Yc}};return xs}function hFe(Or,Bn,xi,zs,$a){var xs=[].concat(Bn),xc=Pge(Or,xi,zs),_o=xc.compilerHost,Yc=xc.updateFile,co=xc.deleteFile,kc=new Map,Ue=0,Rl=qP({},_o,{getProjectVersion:function(){return Ue.toString()},getCompilationSettings:function(){return xi},getCustomTransformers:function(){return $a},getScriptFileNames:function(){return xs.slice()},getScriptSnapshot:function(Tl){var Ka=Or.readFile(Tl);if(Ka&&typeof Ka=="string")return zs.ScriptSnapshot.fromString(Ka)},getScriptVersion:function(Tl){return kc.get(Tl)||"0"},writeFile:Or.writeFile}),yr={languageServiceHost:Rl,updateFile:function(Tl){Ue++,kc.set(Tl.fileName,Ue.toString()),xs.includes(Tl.fileName)||xs.push(Tl.fileName),Yc(Tl)},deleteFile:function(Tl){Ue++,kc.set(Tl.fileName,Ue.toString());var Ka=xs.indexOf(Tl.fileName);Ka!==-1&&xs.splice(Ka,1),co(Tl)}};return yr}var Nge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yFe(Or){return Or&&Or.__esModule&&Object.prototype.hasOwnProperty.call(Or,"default")?Or.default:Or}function vFe(Or){if(Object.prototype.hasOwnProperty.call(Or,"__esModule"))return Or;var Bn=Or.default;if(typeof Bn=="function"){var xi=function zs(){var $a=!1;try{$a=this instanceof zs}catch{}return $a?Reflect.construct(Bn,arguments,this.constructor):Bn.apply(this,arguments)};xi.prototype=Bn.prototype}else xi={};return Object.defineProperty(xi,"__esModule",{value:!0}),Object.keys(Or).forEach(function(zs){var $a=Object.getOwnPropertyDescriptor(Or,zs);Object.defineProperty(xi,zs,$a.get?$a:{enumerable:!0,get:function(){return Or[zs]}})}),xi}function Age(Or){throw new Error('Could not dynamically require "'+Or+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lQ={exports:{}},bFe={},SFe=Object.freeze({__proto__:null,default:bFe}),xC=vFe(SFe),Ige;function TFe(){return Ige||(Ige=1,function(Or){var Bn={};/*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation. All rights reserved.
4
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5
- this file except in compliance with the License. You may obtain a copy of the
6
- License at http://www.apache.org/licenses/LICENSE-2.0
7
-
8
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11
- MERCHANTABLITY OR NON-INFRINGEMENT.
12
-
13
- See the Apache Version 2.0 License for specific language governing permissions
14
- and limitations under the License.
15
- ***************************************************************************** */var xi={};(zs=>{var $a=Object.defineProperty,xs=(e,t)=>{for(var n in t)$a(e,n,{get:t[n],enumerable:!0})},xc=e=>e,_o={};xs(_o,{ANONYMOUS:()=>bq,AccessFlags:()=>pY,AssertionLevel:()=>xQ,AssignmentDeclarationKind:()=>TY,AssignmentKind:()=>$K,Associativity:()=>ree,BreakpointResolver:()=>yH,BuilderFileEmit:()=>Yie,BuilderProgramKind:()=>sse,BuilderState:()=>Ud,CallHierarchy:()=>xk,CharacterCodes:()=>FY,CheckFlags:()=>lY,CheckMode:()=>UW,ClassificationType:()=>AV,ClassificationTypeNames:()=>oae,CommentDirectiveType:()=>$Q,Comparison:()=>kc,CompletionInfoFlags:()=>eae,CompletionTriggerKind:()=>PV,Completions:()=>wk,ContainerFlags:()=>Ane,ContextFlags:()=>tY,Debug:()=>E,DiagnosticCategory:()=>d7,Diagnostics:()=>p,DocumentHighlights:()=>lL,ElementFlags:()=>fY,EmitFlags:()=>Ej,EmitHint:()=>RY,EmitOnly:()=>QQ,EndOfLineState:()=>nae,ExitStatus:()=>YQ,ExportKind:()=>Yae,Extension:()=>OY,ExternalEmitHelpers:()=>MY,FileIncludeKind:()=>gj,FilePreprocessingDiagnosticsKind:()=>XQ,FileSystemEntryKind:()=>HY,FileWatcherEventKind:()=>UY,FindAllReferences:()=>No,FlattenLevel:()=>Kne,FlowFlags:()=>p7,ForegroundColorEscapeSequences:()=>zie,FunctionFlags:()=>eee,GeneratedIdentifierFlags:()=>mj,GetLiteralTextFlags:()=>_K,GoToDefinition:()=>pE,HighlightSpanKind:()=>Zse,IdentifierNameMap:()=>U6,ImportKind:()=>Qae,ImportsNotUsedAsValues:()=>wY,IndentStyle:()=>Kse,IndexFlags:()=>dY,IndexKind:()=>hY,InferenceFlags:()=>bY,InferencePriority:()=>vY,InlayHintKind:()=>Yse,InlayHints:()=>lG,InternalEmitFlags:()=>LY,InternalNodeBuilderFlags:()=>nY,InternalSymbolName:()=>uY,IntersectionFlags:()=>eY,InvalidatedProjectKind:()=>wse,JSDocParsingMode:()=>WY,JsDoc:()=>Iv,JsTyping:()=>o1,JsxEmit:()=>DY,JsxFlags:()=>VQ,JsxReferenceKind:()=>mY,LanguageFeatureMinimumTarget:()=>Fl,LanguageServiceMode:()=>Xse,LanguageVariant:()=>AY,LexicalEnvironmentFlags:()=>BY,ListFormat:()=>JY,LogLevel:()=>FQ,MapCode:()=>uG,MemberOverrideStatus:()=>ZQ,ModifierFlags:()=>pj,ModuleDetectionKind:()=>xY,ModuleInstanceState:()=>Pne,ModuleKind:()=>NC,ModuleResolutionKind:()=>PC,ModuleSpecifierEnding:()=>Zee,NavigateTo:()=>Soe,NavigationBar:()=>xoe,NewLineKind:()=>PY,NodeBuilderFlags:()=>rY,NodeCheckFlags:()=>vj,NodeFactoryFlags:()=>Pte,NodeFlags:()=>fj,NodeResolutionFeatures:()=>vne,ObjectFlags:()=>Sj,OperationCanceledException:()=>yD,OperatorPrecedence:()=>nee,OrganizeImports:()=>Fv,OrganizeImportsMode:()=>wV,OuterExpressionKinds:()=>jY,OutliningElementsCollector:()=>fG,OutliningSpanKind:()=>tae,OutputFileType:()=>rae,PackageJsonAutoImportPreference:()=>$se,PackageJsonDependencyGroup:()=>Gse,PatternMatchKind:()=>Bq,PollingInterval:()=>Dj,PollingWatchKind:()=>EY,PragmaKindFlags:()=>zY,PredicateSemantics:()=>qQ,PreparePasteEdits:()=>DG,PrivateIdentifierKind:()=>Bte,ProcessLevel:()=>nie,ProgramUpdateLevel:()=>Mie,QuotePreference:()=>Pae,RegularExpressionFlags:()=>HQ,RelationComparisonResult:()=>dj,Rename:()=>HL,ScriptElementKind:()=>sae,ScriptElementKindModifier:()=>aae,ScriptKind:()=>xj,ScriptSnapshot:()=>S9,ScriptTarget:()=>NY,SemanticClassificationFormat:()=>Qse,SemanticMeaning:()=>cae,SemicolonPreference:()=>NV,SignatureCheckMode:()=>VW,SignatureFlags:()=>Tj,SignatureHelp:()=>j8,SignatureInfo:()=>Qie,SignatureKind:()=>gY,SmartSelectionRange:()=>mG,SnippetKind:()=>Cj,StatisticType:()=>Rse,StructureIsReused:()=>hj,SymbolAccessibility:()=>aY,SymbolDisplay:()=>J0,SymbolDisplayPartKind:()=>x9,SymbolFlags:()=>yj,SymbolFormatFlags:()=>sY,SyntaxKind:()=>_j,Ternary:()=>SY,ThrottledCancellationToken:()=>Ace,TokenClass:()=>iae,TokenFlags:()=>GQ,TransformFlags:()=>kj,TypeFacts:()=>WW,TypeFlags:()=>bj,TypeFormatFlags:()=>iY,TypeMapKind:()=>yY,TypePredicateKind:()=>oY,TypeReferenceSerializationKind:()=>cY,UnionReduction:()=>KQ,UpToDateStatusType:()=>Sse,VarianceFlags:()=>_Y,Version:()=>Nd,VersionRange:()=>f7,WatchDirectoryFlags:()=>IY,WatchDirectoryKind:()=>CY,WatchFileKind:()=>kY,WatchLogLevel:()=>jie,WatchType:()=>zl,accessPrivateIdentifier:()=>Zne,addEmitFlags:()=>xm,addEmitHelper:()=>Vx,addEmitHelpers:()=>$g,addInternalEmitFlags:()=>CS,addNodeFactoryPatcher:()=>A0e,addObjectAllocatorPatcher:()=>m0e,addRange:()=>Fn,addRelatedInfo:()=>qs,addSyntheticLeadingComment:()=>Xy,addSyntheticTrailingComment:()=>O4,addToSeen:()=>Gp,advancedAsyncSuperHelper:()=>AF,affectsDeclarationPathOptionDeclarations:()=>Vre,affectsEmitOptionDeclarations:()=>Ure,allKeysStartWithDot:()=>CO,altDirectorySeparator:()=>y7,and:()=>l7,append:()=>Dr,appendIfUnique:()=>bh,arrayFrom:()=>as,arrayIsEqualTo:()=>Nf,arrayIsHomogeneous:()=>ate,arrayOf:()=>vQ,arrayReverseIterator:()=>VR,arrayToMap:()=>CC,arrayToMultiMap:()=>QP,arrayToNumericMap:()=>SQ,assertType:()=>qge,assign:()=>Y2,asyncSuperHelper:()=>NF,attachFileToDiagnostics:()=>Lx,base64decode:()=>kee,base64encode:()=>xee,binarySearch:()=>vy,binarySearchKey:()=>ex,bindSourceFile:()=>Ine,breakIntoCharacterSpans:()=>poe,breakIntoWordSpans:()=>doe,buildLinkParts:()=>Rae,buildOpts:()=>fA,buildOverload:()=>hPe,bundlerModuleNameResolver:()=>bne,canBeConvertedToAsync:()=>qq,canHaveDecorators:()=>s2,canHaveExportModifier:()=>MN,canHaveFlowNode:()=>e6,canHaveIllegalDecorators:()=>Zz,canHaveIllegalModifiers:()=>kre,canHaveIllegalType:()=>nye,canHaveIllegalTypeParameters:()=>xre,canHaveJSDoc:()=>nN,canHaveLocals:()=>Zm,canHaveModifiers:()=>Yp,canHaveModuleSpecifier:()=>qK,canHaveSymbol:()=>Fd,canIncludeBindAndCheckDiagnostics:()=>k4,canJsonReportNoInputFiles:()=>yA,canProduceDiagnostics:()=>DA,canUsePropertyAccess:()=>rz,canWatchAffectingLocation:()=>pse,canWatchAtTypes:()=>fse,canWatchDirectoryOrFile:()=>qU,canWatchDirectoryOrFilePath:()=>WA,cartesianProduct:()=>AQ,cast:()=>Gs,chainBundle:()=>Wd,chainDiagnosticMessages:()=>Cs,changeAnyExtension:()=>n3,changeCompilerHostLikeToUseCache:()=>gw,changeExtension:()=>D0,changeFullExtension:()=>S7,changesAffectModuleResolution:()=>$7,changesAffectingProgramStructure:()=>nK,characterCodeToRegularExpressionFlag:()=>jj,childIsDecorated:()=>HD,classElementOrClassElementParameterIsDecorated:()=>RB,classHasClassThisAssignment:()=>sU,classHasDeclaredOrExplicitlyAssignedName:()=>aU,classHasExplicitlyAssignedName:()=>BO,classOrConstructorParameterIsDecorated:()=>T0,classicNameResolver:()=>Dne,classifier:()=>Lce,cleanExtendedConfigCache:()=>qO,clear:()=>jp,clearMap:()=>G_,clearSharedExtendedConfigFileWatcher:()=>bU,climbPastPropertyAccess:()=>E9,clone:()=>TQ,cloneCompilerOptions:()=>QV,closeFileWatcher:()=>dd,closeFileWatcherOf:()=>xp,codefix:()=>Wu,collapseTextChangeRangesAcrossMultipleVersions:()=>mZ,collectExternalModuleInfo:()=>tU,combine:()=>KT,combinePaths:()=>Ln,commandLineOptionOfCustomType:()=>Gre,commentPragmas:()=>m7,commonOptionsWithBuild:()=>iO,compact:()=>$P,compareBooleans:()=>V1,compareDataObjects:()=>NJ,compareDiagnostics:()=>h4,compareEmitHelpers:()=>zte,compareNumberOfDirectorySeparators:()=>IN,comparePaths:()=>Th,comparePathsCaseInsensitive:()=>mhe,comparePathsCaseSensitive:()=>dhe,comparePatternKeys:()=>LW,compareProperties:()=>DQ,compareStringsCaseInsensitive:()=>ZP,compareStringsCaseInsensitiveEslintCompatible:()=>kQ,compareStringsCaseSensitive:()=>vu,compareStringsCaseSensitiveUI:()=>KP,compareTextSpans:()=>o7,compareValues:()=>xo,compilerOptionsAffectDeclarationPath:()=>Hee,compilerOptionsAffectEmit:()=>qee,compilerOptionsAffectSemanticDiagnostics:()=>Vee,compilerOptionsDidYouMeanDiagnostics:()=>cO,compilerOptionsIndicateEsModules:()=>rq,computeCommonSourceDirectoryOfFilenames:()=>Bie,computeLineAndCharacterOfPosition:()=>FC,computeLineOfPosition:()=>xD,computeLineStarts:()=>lx,computePositionOfLineAndCharacter:()=>C7,computeSignatureWithDiagnostics:()=>BU,computeSuggestionDiagnostics:()=>Wq,computedOptions:()=>y4,concatenate:()=>Wi,concatenateDiagnosticMessageChains:()=>Ree,consumesNodeCoreModules:()=>eL,contains:()=>hs,containsIgnoredPath:()=>D4,containsObjectRestOrSpread:()=>cA,containsParseError:()=>yx,containsPath:()=>up,convertCompilerOptionsForTelemetry:()=>cne,convertCompilerOptionsFromJson:()=>f1e,convertJsonOption:()=>JS,convertToBase64:()=>Tee,convertToJson:()=>mA,convertToObject:()=>rne,convertToOptionsWithAbsolutePaths:()=>fO,convertToRelativePath:()=>SD,convertToTSConfig:()=>yW,convertTypeAcquisitionFromJson:()=>p1e,copyComments:()=>XS,copyEntries:()=>X7,copyLeadingComments:()=>sE,copyProperties:()=>YR,copyTrailingAsLeadingComments:()=>l8,copyTrailingComments:()=>Iw,couldStartTrivia:()=>tZ,countWhere:()=>m0,createAbstractBuilder:()=>vbe,createAccessorPropertyBackingField:()=>tW,createAccessorPropertyGetRedirector:()=>Ire,createAccessorPropertySetRedirector:()=>Fre,createBaseNodeFactory:()=>kte,createBinaryExpressionTrampoline:()=>KF,createBuilderProgram:()=>JU,createBuilderProgramUsingIncrementalBuildInfo:()=>lse,createBuilderStatusReporter:()=>p9,createCacheableExportInfoMap:()=>Aq,createCachedDirectoryStructureHost:()=>UO,createClassifier:()=>X2e,createCommentDirectivesMap:()=>lK,createCompilerDiagnostic:()=>nc,createCompilerDiagnosticForInvalidCustomType:()=>$re,createCompilerDiagnosticFromMessageChain:()=>Z5,createCompilerHost:()=>Jie,createCompilerHostFromProgramHost:()=>aV,createCompilerHostWorker:()=>HO,createDetachedDiagnostic:()=>Ox,createDiagnosticCollection:()=>o4,createDiagnosticForFileFromMessageChain:()=>IB,createDiagnosticForNode:()=>an,createDiagnosticForNodeArray:()=>HC,createDiagnosticForNodeArrayFromMessageChain:()=>L3,createDiagnosticForNodeFromMessageChain:()=>Bg,createDiagnosticForNodeInSourceFile:()=>fp,createDiagnosticForRange:()=>xK,createDiagnosticMessageChainFromDiagnostic:()=>TK,createDiagnosticReporter:()=>mk,createDocumentPositionMapper:()=>Gne,createDocumentRegistry:()=>roe,createDocumentRegistryInternal:()=>Mq,createEmitAndSemanticDiagnosticsBuilderProgram:()=>VU,createEmitHelperFactory:()=>Jte,createEmptyExports:()=>eA,createEvaluator:()=>gte,createExpressionForJsxElement:()=>hre,createExpressionForJsxFragment:()=>yre,createExpressionForObjectLiteralElementLike:()=>vre,createExpressionForPropertyName:()=>Hz,createExpressionFromEntityName:()=>tA,createExternalHelpersImportDeclarationIfNeeded:()=>Xz,createFileDiagnostic:()=>gl,createFileDiagnosticFromMessageChain:()=>s5,createFlowNode:()=>cg,createForOfBindingStatement:()=>qz,createFutureSourceFile:()=>aL,createGetCanonicalFileName:()=>au,createGetIsolatedDeclarationErrors:()=>Eie,createGetSourceFile:()=>CU,createGetSymbolAccessibilityDiagnosticForNode:()=>Tv,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Cie,createGetSymbolWalker:()=>Fne,createIncrementalCompilerHost:()=>f9,createIncrementalProgram:()=>bse,createJsxFactoryExpression:()=>Vz,createLanguageService:()=>Ice,createLanguageServiceSourceFile:()=>CL,createMemberAccessForPropertyName:()=>jS,createModeAwareCache:()=>j6,createModeAwareCacheKey:()=>tw,createModeMismatchDetails:()=>gB,createModuleNotFoundChain:()=>Y7,createModuleResolutionCache:()=>B6,createModuleResolutionLoader:()=>AU,createModuleResolutionLoaderUsingGlobalCache:()=>hse,createModuleSpecifierResolutionHost:()=>Ev,createMultiMap:()=>Jp,createNameResolver:()=>oz,createNodeConverters:()=>Dte,createNodeFactory:()=>zN,createOptionNameMap:()=>aO,createOverload:()=>PG,createPackageJsonImportFilter:()=>aE,createPackageJsonInfo:()=>xq,createParenthesizerRules:()=>Cte,createPatternMatcher:()=>ooe,createPrinter:()=>s1,createPrinterWithDefaults:()=>Oie,createPrinterWithRemoveComments:()=>l2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Lie,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>vU,createProgram:()=>BA,createProgramDiagnostics:()=>$ie,createProgramHost:()=>oV,createPropertyNameNodeForIdentifierOrLiteral:()=>LN,createQueue:()=>YP,createRange:()=>mp,createRedirectedBuilderProgram:()=>UU,createResolutionCache:()=>GU,createRuntimeTypeSerializer:()=>cie,createScanner:()=>Fg,createSemanticDiagnosticsBuilderProgram:()=>ybe,createSet:()=>ZR,createSolutionBuilder:()=>Cse,createSolutionBuilderHost:()=>xse,createSolutionBuilderWithWatch:()=>Ese,createSolutionBuilderWithWatchHost:()=>kse,createSortedArray:()=>UR,createSourceFile:()=>ak,createSourceMapGenerator:()=>Wne,createSourceMapSource:()=>L0e,createSuperAccessVariableStatement:()=>zO,createSymbolTable:()=>Us,createSymlinkCache:()=>JJ,createSyntacticTypeNodeBuilder:()=>Vse,createSystemWatchFunctions:()=>GY,createTextChange:()=>r8,createTextChangeFromStartLength:()=>B9,createTextChangeRange:()=>p3,createTextRangeFromNode:()=>KV,createTextRangeFromSpan:()=>j9,createTextSpan:()=>ou,createTextSpanFromBounds:()=>Rc,createTextSpanFromNode:()=>y_,createTextSpanFromRange:()=>R0,createTextSpanFromStringLiteralLikeContent:()=>ZV,createTextWriter:()=>dN,createTokenRange:()=>CJ,createTypeChecker:()=>Jne,createTypeReferenceDirectiveResolutionCache:()=>TO,createTypeReferenceResolutionLoader:()=>XO,createWatchCompilerHost:()=>Pbe,createWatchCompilerHostOfConfigFile:()=>cV,createWatchCompilerHostOfFilesAndCompilerOptions:()=>lV,createWatchFactory:()=>sV,createWatchHost:()=>iV,createWatchProgram:()=>uV,createWatchStatusReporter:()=>$U,createWriteFileMeasuringIO:()=>EU,declarationNameToString:()=>mo,decodeMappings:()=>ZW,decodedTextSpanIntersectsWith:()=>f3,deduplicate:()=>Tb,defaultHoverMaximumTruncationLength:()=>tK,defaultInitCompilerOptions:()=>Iye,defaultMaximumTruncationLength:()=>BD,diagnosticCategoryName:()=>K2,diagnosticToString:()=>d2,diagnosticsEqualityComparer:()=>K5,directoryProbablyExists:()=>Md,directorySeparator:()=>Do,displayPart:()=>Q_,displayPartsToString:()=>T8,disposeEmitNodes:()=>yz,documentSpansEqual:()=>lq,dumpTracingLegend:()=>UQ,elementAt:()=>yy,elideNodes:()=>Are,emitDetachedComments:()=>fee,emitFiles:()=>hU,emitFilesAndReportErrors:()=>c9,emitFilesAndReportErrorsAndGetExitStatus:()=>nV,emitModuleKindIsNonNodeESM:()=>wN,emitNewLineBeforeLeadingCommentOfPosition:()=>_ee,emitResolverSkipsTypeChecking:()=>gU,emitSkippedWithNoDiagnostics:()=>OU,emptyArray:()=>Ue,emptyFileSystemEntries:()=>$J,emptyMap:()=>Rl,emptyOptions:()=>Zp,endsWith:()=>Oo,ensurePathIsNonModuleName:()=>eS,ensureScriptKind:()=>lF,ensureTrailingDirectorySeparator:()=>kl,entityNameToString:()=>lf,enumerateInsertsAndDeletes:()=>_7,equalOwnProperties:()=>bQ,equateStringsCaseInsensitive:()=>xy,equateStringsCaseSensitive:()=>Cb,equateValues:()=>Ty,escapeJsxAttributeString:()=>oJ,escapeLeadingUnderscores:()=>oc,escapeNonAsciiString:()=>I5,escapeSnippetText:()=>Xb,escapeString:()=>ig,escapeTemplateSubstitution:()=>sJ,evaluatorResult:()=>El,every:()=>Pi,exclusivelyPrefixedNodeCoreModules:()=>kF,executeCommandLine:()=>c2e,expandPreOrPostfixIncrementOrDecrementExpression:()=>$F,explainFiles:()=>ZU,explainIfFileIsRedirectAndImpliedFormat:()=>KU,exportAssignmentIsAlias:()=>oN,expressionResultIsUnused:()=>cte,extend:()=>QR,extensionFromPath:()=>T4,extensionIsTS:()=>dF,extensionsNotSupportingExtensionlessResolution:()=>pF,externalHelpersModuleNameText:()=>Ly,factory:()=>N,fileExtensionIs:()=>tc,fileExtensionIsOneOf:()=>Ac,fileIncludeReasonToDiagnostics:()=>rV,fileShouldUseJavaScriptRequire:()=>Nq,filter:()=>Cn,filterMutate:()=>jR,filterSemanticDiagnostics:()=>KO,find:()=>An,findAncestor:()=>dr,findBestPatternMatch:()=>ij,findChildOfKind:()=>to,findComputedPropertyNameCacheAssignment:()=>eO,findConfigFile:()=>xU,findConstructorDeclaration:()=>BN,findContainingList:()=>A9,findDiagnosticForNode:()=>Gae,findFirstNonJsxWhitespaceToken:()=>gae,findIndex:()=>pc,findLast:()=>Sb,findLastIndex:()=>i7,findListItemInfo:()=>mae,findModifier:()=>rE,findNextToken:()=>p2,findPackageJson:()=>Hae,findPackageJsons:()=>Tq,findPrecedingMatchingToken:()=>M9,findPrecedingToken:()=>bl,findSuperStatementIndexPath:()=>LO,findTokenOnLeftOfPosition:()=>Cw,findUseStrictPrologue:()=>$z,first:()=>Pa,firstDefined:()=>Ka,firstDefinedIterator:()=>Q2,firstIterator:()=>HR,firstOrOnly:()=>Eq,firstOrUndefined:()=>il,firstOrUndefinedIterator:()=>a7,fixupCompilerOptions:()=>Hq,flatMap:()=>wa,flatMapIterator:()=>BR,flatMapToMutable:()=>cD,flatten:()=>Bp,flattenCommaList:()=>Ore,flattenDestructuringAssignment:()=>VS,flattenDestructuringBinding:()=>c2,flattenDiagnosticMessageText:()=>Am,forEach:()=>Qt,forEachAncestor:()=>iK,forEachAncestorDirectory:()=>TD,forEachAncestorDirectoryStoppingAtGlobalCache:()=>og,forEachChild:()=>Es,forEachChildRecursively:()=>sk,forEachDynamicImportOrRequireCall:()=>CF,forEachEmittedFile:()=>fU,forEachEnclosingBlockScopeContainer:()=>vK,forEachEntry:()=>Cl,forEachExternalModuleToImportFrom:()=>Fq,forEachImportClauseDeclaration:()=>HK,forEachKey:()=>Rg,forEachLeadingCommentRange:()=>a3,forEachNameInAccessChainWalkingLeft:()=>Iee,forEachNameOfDefaultExport:()=>cL,forEachOptionsSyntaxByName:()=>pz,forEachProjectReference:()=>I4,forEachPropertyAssignment:()=>XC,forEachResolvedProjectReference:()=>_z,forEachReturnStatement:()=>By,forEachRight:()=>Tl,forEachTrailingCommentRange:()=>o3,forEachTsConfigPropArray:()=>J3,forEachUnique:()=>_q,forEachYieldExpression:()=>DK,formatColorAndReset:()=>u2,formatDiagnostic:()=>DU,formatDiagnostics:()=>Hve,formatDiagnosticsWithColorAndContext:()=>Vie,formatGeneratedName:()=>hv,formatGeneratedNamePart:()=>O6,formatLocation:()=>wU,formatMessage:()=>Mx,formatStringFromArgs:()=>Vg,formatting:()=>ul,generateDjb2Hash:()=>vD,generateTSConfig:()=>nne,getAdjustedReferenceLocation:()=>VV,getAdjustedRenameLocation:()=>F9,getAliasDeclarationFromName:()=>XB,getAllAccessorDeclarations:()=>Vb,getAllDecoratorsOfClass:()=>nU,getAllDecoratorsOfClassElement:()=>RO,getAllJSDocTags:()=>I7,getAllJSDocTagsOfKind:()=>jhe,getAllKeys:()=>zge,getAllProjectOutputs:()=>WO,getAllSuperTypeNodes:()=>t4,getAllowImportingTsExtensions:()=>Bee,getAllowJSCompilerOption:()=>Hy,getAllowSyntheticDefaultImports:()=>Rx,getAncestor:()=>rv,getAnyExtensionFromPath:()=>ax,getAreDeclarationMapsEnabled:()=>eF,getAssignedExpandoInitializer:()=>Sx,getAssignedName:()=>P7,getAssignmentDeclarationKind:()=>jc,getAssignmentDeclarationPropertyAccessKind:()=>Z3,getAssignmentTargetKind:()=>Jy,getAutomaticTypeDirectiveNames:()=>bO,getBaseFileName:()=>sl,getBinaryOperatorPrecedence:()=>_N,getBuildInfo:()=>yU,getBuildInfoFileVersionMap:()=>WU,getBuildInfoText:()=>Iie,getBuildOrderFromAnyBuildOrder:()=>VA,getBuilderCreationParameters:()=>n9,getBuilderFileEmit:()=>a1,getCanonicalDiagnostic:()=>kK,getCheckFlags:()=>gc,getClassExtendsHeritageElement:()=>Jb,getClassLikeDeclarationOfSymbol:()=>Ih,getCombinedLocalAndExportSymbolFlags:()=>l6,getCombinedModifierFlags:()=>H1,getCombinedNodeFlags:()=>kh,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Vj,getCommentRange:()=>km,getCommonSourceDirectory:()=>mw,getCommonSourceDirectoryOfConfig:()=>qS,getCompilerOptionValue:()=>nF,getConditions:()=>r1,getConfigFileParsingDiagnostics:()=>_2,getConstantValue:()=>Ite,getContainerFlags:()=>RW,getContainerNode:()=>$S,getContainingClass:()=>Ql,getContainingClassExcludingClassDecorators:()=>p5,getContainingClassStaticBlock:()=>LK,getContainingFunction:()=>Bf,getContainingFunctionDeclaration:()=>OK,getContainingFunctionOrClassStaticBlock:()=>f5,getContainingNodeArray:()=>lte,getContainingObjectLiteralElement:()=>x8,getContextualTypeFromParent:()=>$9,getContextualTypeFromParentOrAncestorTypeNode:()=>I9,getDeclarationDiagnostics:()=>Die,getDeclarationEmitExtensionForPath:()=>L5,getDeclarationEmitOutputFilePath:()=>oee,getDeclarationEmitOutputFilePathWorker:()=>O5,getDeclarationFileExtension:()=>rO,getDeclarationFromName:()=>e4,getDeclarationModifierFlagsFromSymbol:()=>hp,getDeclarationOfKind:()=>Jo,getDeclarationsOfKind:()=>rK,getDeclaredExpandoInitializer:()=>QD,getDecorators:()=>wy,getDefaultCompilerOptions:()=>kL,getDefaultFormatCodeSettings:()=>T9,getDefaultLibFileName:()=>l3,getDefaultLibFilePath:()=>Fce,getDefaultLikeExportInfo:()=>oL,getDefaultLikeExportNameFromDeclaration:()=>Dq,getDefaultResolutionModeForFileWorker:()=>ZO,getDiagnosticText:()=>L_,getDiagnosticsWithinSpan:()=>$ae,getDirectoryPath:()=>$n,getDirectoryToWatchFailedLookupLocation:()=>HU,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>mse,getDocumentPositionMapper:()=>zq,getDocumentSpansEqualityComparer:()=>uq,getESModuleInterop:()=>Tm,getEditsForFileRename:()=>ioe,getEffectiveBaseTypeNode:()=>Ld,getEffectiveConstraintOfTypeParameter:()=>RC,getEffectiveContainerForJSDocTemplateTag:()=>C5,getEffectiveImplementsTypeNodes:()=>r6,getEffectiveInitializer:()=>X3,getEffectiveJSDocHost:()=>tv,getEffectiveModifierFlags:()=>Su,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>gee,getEffectiveModifierFlagsNoCache:()=>hee,getEffectiveReturnTypeNode:()=>ff,getEffectiveSetAccessorTypeAnnotationNode:()=>mJ,getEffectiveTypeAnnotationNode:()=>al,getEffectiveTypeParameterDeclarations:()=>Py,getEffectiveTypeRoots:()=>ew,getElementOrPropertyAccessArgumentExpressionOrName:()=>k5,getElementOrPropertyAccessName:()=>Dh,getElementsOfBindingOrAssignmentPattern:()=>F6,getEmitDeclarations:()=>$_,getEmitFlags:()=>Na,getEmitHelpers:()=>vz,getEmitModuleDetectionKind:()=>Jee,getEmitModuleFormatOfFileWorker:()=>vw,getEmitModuleKind:()=>e_,getEmitModuleResolutionKind:()=>Ru,getEmitScriptTarget:()=>ya,getEmitStandardClassFields:()=>jJ,getEnclosingBlockScopeContainer:()=>Od,getEnclosingContainer:()=>i5,getEncodedSemanticClassifications:()=>Oq,getEncodedSyntacticClassifications:()=>Lq,getEndLinePosition:()=>N3,getEntityNameFromTypeNode:()=>U3,getEntrypointsFromPackageJsonInfo:()=>IW,getErrorCountForSummary:()=>a9,getErrorSpanForNode:()=>_S,getErrorSummaryText:()=>QU,getEscapedTextOfIdentifierOrLiteral:()=>i4,getEscapedTextOfJsxAttributeName:()=>N4,getEscapedTextOfJsxNamespacedName:()=>zx,getExpandoInitializer:()=>K1,getExportAssignmentExpression:()=>QB,getExportInfoMap:()=>m8,getExportNeedsImportStarHelper:()=>$ne,getExpressionAssociativity:()=>nJ,getExpressionPrecedence:()=>a4,getExternalHelpersModuleName:()=>nA,getExternalModuleImportEqualsDeclarationExpression:()=>GD,getExternalModuleName:()=>xx,getExternalModuleNameFromDeclaration:()=>see,getExternalModuleNameFromPath:()=>uJ,getExternalModuleNameLiteral:()=>ik,getExternalModuleRequireArgument:()=>BB,getFallbackOptions:()=>MA,getFileEmitOutput:()=>Xie,getFileMatcherPatterns:()=>cF,getFileNamesFromConfigSpecs:()=>Z4,getFileWatcherEventKind:()=>Nj,getFilesInErrorForSummary:()=>o9,getFirstConstructorWithBody:()=>Wg,getFirstIdentifier:()=>f_,getFirstNonSpaceCharacterPosition:()=>Jae,getFirstProjectOutput:()=>mU,getFixableErrorSpanExpression:()=>kq,getFormatCodeSettingsForWriting:()=>iL,getFullWidth:()=>w3,getFunctionFlags:()=>Wc,getHeritageClause:()=>cN,getHostSignatureFromJSDoc:()=>ev,getIdentifierAutoGenerate:()=>j0e,getIdentifierGeneratedImportReference:()=>jte,getIdentifierTypeArguments:()=>ES,getImmediatelyInvokedFunctionExpression:()=>Y1,getImpliedNodeFormatForEmitWorker:()=>HS,getImpliedNodeFormatForFile:()=>jA,getImpliedNodeFormatForFileWorker:()=>YO,getImportNeedsImportDefaultHelper:()=>eU,getImportNeedsImportStarHelper:()=>FO,getIndentString:()=>F5,getInferredLibraryNameResolveFrom:()=>QO,getInitializedVariables:()=>d4,getInitializerOfBinaryExpression:()=>UB,getInitializerOfBindingOrAssignmentElement:()=>sA,getInterfaceBaseTypeNodes:()=>r4,getInternalEmitFlags:()=>fd,getInvokedExpression:()=>g5,getIsFileExcluded:()=>Kae,getIsolatedModules:()=>$p,getJSDocAugmentsTag:()=>CZ,getJSDocClassTag:()=>Gj,getJSDocCommentRanges:()=>OB,getJSDocCommentsAndTags:()=>VB,getJSDocDeprecatedTag:()=>$j,getJSDocDeprecatedTagNoCache:()=>IZ,getJSDocEnumTag:()=>Xj,getJSDocHost:()=>jb,getJSDocImplementsTags:()=>EZ,getJSDocOverloadTags:()=>HB,getJSDocOverrideTagNoCache:()=>AZ,getJSDocParameterTags:()=>MC,getJSDocParameterTagsNoCache:()=>SZ,getJSDocPrivateTag:()=>Ohe,getJSDocPrivateTagNoCache:()=>wZ,getJSDocProtectedTag:()=>Lhe,getJSDocProtectedTagNoCache:()=>PZ,getJSDocPublicTag:()=>Fhe,getJSDocPublicTagNoCache:()=>DZ,getJSDocReadonlyTag:()=>Mhe,getJSDocReadonlyTagNoCache:()=>NZ,getJSDocReturnTag:()=>FZ,getJSDocReturnType:()=>m3,getJSDocRoot:()=>t6,getJSDocSatisfiesExpressionType:()=>iz,getJSDocSatisfiesTag:()=>Qj,getJSDocTags:()=>$1,getJSDocTemplateTag:()=>Rhe,getJSDocThisTag:()=>N7,getJSDocType:()=>y0,getJSDocTypeAliasName:()=>Yz,getJSDocTypeAssertionType:()=>A6,getJSDocTypeParameterDeclarations:()=>J5,getJSDocTypeParameterTags:()=>TZ,getJSDocTypeParameterTagsNoCache:()=>xZ,getJSDocTypeTag:()=>G1,getJSXImplicitImportBase:()=>PN,getJSXRuntimeImport:()=>sF,getJSXTransformEnabled:()=>iF,getKeyForCompilerOptions:()=>DW,getLanguageVariant:()=>xN,getLastChild:()=>AJ,getLeadingCommentRanges:()=>Ig,getLeadingCommentRangesOfNode:()=>FB,getLeftmostAccessExpression:()=>u6,getLeftmostExpression:()=>_6,getLibFileNameFromLibReference:()=>uz,getLibNameFromLibReference:()=>lz,getLibraryNameFromLibFileName:()=>IU,getLineAndCharacterOfPosition:()=>Ws,getLineInfo:()=>YW,getLineOfLocalPosition:()=>c4,getLineStartPositionForPosition:()=>Kp,getLineStarts:()=>Ng,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Pee,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>wee,getLinesBetweenPositions:()=>kD,getLinesBetweenRangeEndAndRangeStart:()=>EJ,getLinesBetweenRangeEndPositions:()=>p0e,getLiteralText:()=>fK,getLocalNameForExternalImport:()=>I6,getLocalSymbolForExportDefault:()=>f4,getLocaleSpecificMessage:()=>ks,getLocaleTimeString:()=>UA,getMappedContextSpan:()=>fq,getMappedDocumentSpan:()=>q9,getMappedLocation:()=>Pw,getMatchedFileSpec:()=>eV,getMatchedIncludeSpec:()=>tV,getMeaningFromDeclaration:()=>k9,getMeaningFromLocation:()=>GS,getMembersOfDeclaration:()=>wK,getModeForFileReference:()=>qie,getModeForResolutionAtIndex:()=>Zve,getModeForUsageLocation:()=>NU,getModifiedTime:()=>sx,getModifiers:()=>Db,getModuleInstanceState:()=>Rh,getModuleNameStringLiteralAt:()=>JA,getModuleSpecifierEndingPreference:()=>Kee,getModuleSpecifierResolverHost:()=>nq,getNameForExportedSymbol:()=>tL,getNameFromImportAttribute:()=>SF,getNameFromIndexInfo:()=>bK,getNameFromPropertyName:()=>i8,getNameOfAccessExpression:()=>FJ,getNameOfCompilerOptionValue:()=>_O,getNameOfDeclaration:()=>ps,getNameOfExpando:()=>JB,getNameOfJSDocTypedef:()=>bZ,getNameOfScriptTarget:()=>rF,getNameOrArgument:()=>Y3,getNameTable:()=>hH,getNamespaceDeclarationNode:()=>KC,getNewLineCharacter:()=>C0,getNewLineKind:()=>d8,getNewLineOrDefaultFromHost:()=>Bh,getNewTargetContainer:()=>RK,getNextJSDocCommentLocation:()=>qB,getNodeChildren:()=>Wz,getNodeForGeneratedName:()=>oA,getNodeId:()=>Ba,getNodeKind:()=>f2,getNodeModifiers:()=>Ew,getNodeModulePathParts:()=>yF,getNonAssignedNameOfDeclaration:()=>w7,getNonAssignmentOperatorForCompoundAssignment:()=>cw,getNonAugmentationDeclaration:()=>EB,getNonDecoratorTokenPosOfNode:()=>bB,getNonIncrementalBuildInfoRoots:()=>use,getNonModifierTokenPosOfNode:()=>uK,getNormalizedAbsolutePath:()=>Ki,getNormalizedAbsolutePathWithoutRoot:()=>Oj,getNormalizedPathComponents:()=>b7,getObjectFlags:()=>wn,getOperatorAssociativity:()=>iJ,getOperatorPrecedence:()=>uN,getOptionFromName:()=>pW,getOptionsForLibraryResolution:()=>wW,getOptionsNameMap:()=>M6,getOptionsSyntaxByArrayElementValue:()=>fz,getOptionsSyntaxByValue:()=>Ste,getOrCreateEmitNode:()=>xu,getOrUpdate:()=>lD,getOriginalNode:()=>Qo,getOriginalNodeId:()=>h_,getOutputDeclarationFileName:()=>dw,getOutputDeclarationFileNameWorker:()=>pU,getOutputExtension:()=>FA,getOutputFileNames:()=>Vve,getOutputJSFileNameWorker:()=>dU,getOutputPathsFor:()=>pw,getOwnEmitOutputFilePath:()=>aee,getOwnKeys:()=>lm,getOwnValues:()=>tx,getPackageJsonTypesVersionsPaths:()=>vO,getPackageNameFromTypesPackageName:()=>iw,getPackageScopeForPath:()=>nw,getParameterSymbolFromJSDoc:()=>iN,getParentNodeInSpan:()=>a8,getParseTreeNode:()=>Ss,getParsedCommandLineOfConfigFile:()=>pA,getPathComponents:()=>bu,getPathFromPathComponents:()=>q1,getPathUpdater:()=>jq,getPathsBasePath:()=>M5,getPatternFromSpec:()=>UJ,getPendingEmitKindWithSeen:()=>r9,getPositionOfLineAndCharacter:()=>i3,getPossibleGenericSignatures:()=>HV,getPossibleOriginalInputExtensionForExtension:()=>_J,getPossibleOriginalInputPathWithoutChangingExt:()=>fJ,getPossibleTypeArgumentsInfo:()=>GV,getPreEmitDiagnostics:()=>qve,getPrecedingNonSpaceCharacterPosition:()=>H9,getPrivateIdentifier:()=>iU,getProperties:()=>rU,getProperty:()=>XP,getPropertyAssignmentAliasLikeExpression:()=>KK,getPropertyNameForPropertyNameNode:()=>vS,getPropertyNameFromType:()=>vp,getPropertyNameOfBindingOrAssignmentElement:()=>Qz,getPropertySymbolFromBindingElement:()=>V9,getPropertySymbolsFromContextualType:()=>EL,getQuoteFromPreference:()=>sq,getQuotePreference:()=>vf,getRangesWhere:()=>WR,getRefactorContextSpan:()=>vk,getReferencedFileLocation:()=>yw,getRegexFromPattern:()=>E0,getRegularExpressionForWildcard:()=>v4,getRegularExpressionsForWildcards:()=>aF,getRelativePathFromDirectory:()=>jf,getRelativePathFromFile:()=>IC,getRelativePathToDirectoryOrUrl:()=>cx,getRenameLocation:()=>c8,getReplacementSpanForContextToken:()=>YV,getResolutionDiagnostic:()=>MU,getResolutionModeOverride:()=>q6,getResolveJsonModule:()=>Hb,getResolvePackageJsonExports:()=>CN,getResolvePackageJsonImports:()=>EN,getResolvedExternalModuleName:()=>lJ,getResolvedModuleFromResolution:()=>hx,getResolvedTypeReferenceDirectiveFromResolution:()=>Q7,getRestIndicatorOfBindingOrAssignmentElement:()=>YF,getRestParameterElementType:()=>LB,getRightMostAssignedExpression:()=>Q3,getRootDeclaration:()=>ym,getRootDirectoryOfResolutionCache:()=>gse,getRootLength:()=>Ad,getScriptKind:()=>gq,getScriptKindFromFileName:()=>uF,getScriptTargetFeatures:()=>SB,getSelectedEffectiveModifierFlags:()=>Px,getSelectedSyntacticModifierFlags:()=>dee,getSemanticClassifications:()=>eoe,getSemanticJsxChildren:()=>i6,getSetAccessorTypeAnnotationNode:()=>lee,getSetAccessorValueParameter:()=>l4,getSetExternalModuleIndicator:()=>kN,getShebang:()=>E7,getSingleVariableOfVariableStatement:()=>Ex,getSnapshotText:()=>yk,getSnippetElement:()=>bz,getSourceFileOfModule:()=>P3,getSourceFileOfNode:()=>kr,getSourceFilePathInNewDir:()=>j5,getSourceFileVersionAsHashFromText:()=>l9,getSourceFilesToEmit:()=>R5,getSourceMapRange:()=>P0,getSourceMapper:()=>goe,getSourceTextOfNodeFromSourceFile:()=>Ib,getSpanOfTokenAtPosition:()=>dm,getSpellingSuggestion:()=>Eb,getStartPositionOfLine:()=>My,getStartPositionOfRange:()=>p4,getStartsOnNewLine:()=>F4,getStaticPropertiesAndClassStaticBlock:()=>MO,getStrictOptionValue:()=>Tu,getStringComparer:()=>DC,getSubPatternFromSpec:()=>oF,getSuperCallFromStatement:()=>OO,getSuperContainer:()=>z3,getSupportedCodeFixes:()=>mH,getSupportedExtensions:()=>b4,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>AN,getSwitchedType:()=>vq,getSymbolId:()=>Ks,getSymbolNameForPrivateIdentifier:()=>lN,getSymbolTarget:()=>hq,getSyntacticClassifications:()=>toe,getSyntacticModifierFlags:()=>x0,getSyntacticModifierFlagsNoCache:()=>yJ,getSynthesizedDeepClone:()=>Ga,getSynthesizedDeepCloneWithReplacements:()=>JN,getSynthesizedDeepClones:()=>Qb,getSynthesizedDeepClonesWithReplacements:()=>dz,getSyntheticLeadingComments:()=>h6,getSyntheticTrailingComments:()=>qN,getTargetLabel:()=>D9,getTargetOfBindingOrAssignmentElement:()=>e1,getTemporaryModuleResolutionState:()=>rw,getTextOfConstantValue:()=>pK,getTextOfIdentifierOrLiteral:()=>dp,getTextOfJSDocComment:()=>g3,getTextOfJsxAttributeName:()=>jN,getTextOfJsxNamespacedName:()=>A4,getTextOfNode:()=>rc,getTextOfNodeFromSourceText:()=>zD,getTextOfPropertyName:()=>bx,getThisContainer:()=>Ku,getThisParameter:()=>Wb,getTokenAtPosition:()=>Si,getTokenPosOfNode:()=>Ry,getTokenSourceMapRange:()=>M0e,getTouchingPropertyName:()=>M_,getTouchingToken:()=>eE,getTrailingCommentRanges:()=>Dy,getTrailingSemicolonDeferringWriter:()=>cJ,getTransformers:()=>Pie,getTsBuildInfoEmitOutputFilePath:()=>xv,getTsConfigObjectLiteralExpression:()=>qD,getTsConfigPropArrayElementValue:()=>_5,getTypeAnnotationNode:()=>uee,getTypeArgumentOrTypeParameterList:()=>xae,getTypeKeywordOfTypeOnlyImport:()=>cq,getTypeNode:()=>Mte,getTypeNodeIfAccessible:()=>Ow,getTypeParameterFromJsDoc:()=>GK,getTypeParameterOwner:()=>Phe,getTypesPackageName:()=>EO,getUILocale:()=>CQ,getUniqueName:()=>QS,getUniqueSymbolId:()=>Bae,getUseDefineForClassFields:()=>DN,getWatchErrorSummaryDiagnosticMessage:()=>XU,getWatchFactory:()=>TU,group:()=>EC,groupBy:()=>XR,guessIndentation:()=>KZ,handleNoEmitOptions:()=>LU,handleWatchOptionsConfigDirTemplateSubstitution:()=>pO,hasAbstractModifier:()=>qb,hasAccessorModifier:()=>vm,hasAmbientModifier:()=>hJ,hasChangesInResolutions:()=>hB,hasContextSensitiveParameters:()=>hF,hasDecorators:()=>zf,hasDocComment:()=>Sae,hasDynamicName:()=>wh,hasEffectiveModifier:()=>pf,hasEffectiveModifiers:()=>gJ,hasEffectiveReadonlyModifier:()=>SS,hasExtension:()=>AC,hasImplementationTSFileExtension:()=>Yee,hasIndexSignature:()=>yq,hasInferredType:()=>xF,hasInitializer:()=>b0,hasInvalidEscape:()=>aJ,hasJSDocNodes:()=>If,hasJSDocParameterTags:()=>kZ,hasJSFileExtension:()=>qg,hasJsonModuleEmitEnabled:()=>tF,hasOnlyExpressionInitializer:()=>lS,hasOverrideModifier:()=>z5,hasPossibleExternalModuleReference:()=>yK,hasProperty:()=>io,hasPropertyAccessExpressionWithName:()=>QA,hasQuestionToken:()=>kx,hasRecordedExternalHelpers:()=>Tre,hasResolutionModeOverride:()=>dte,hasRestParameter:()=>fB,hasScopeMarker:()=>VZ,hasStaticModifier:()=>ml,hasSyntacticModifier:()=>Xn,hasSyntacticModifiers:()=>pee,hasTSFileExtension:()=>xS,hasTabstop:()=>_te,hasTrailingDirectorySeparator:()=>Cy,hasType:()=>q7,hasTypeArguments:()=>n0e,hasZeroOrOneAsteriskCharacter:()=>BJ,hostGetCanonicalFileName:()=>Ph,hostUsesCaseSensitiveFileNames:()=>bS,idText:()=>In,identifierIsThisKeyword:()=>dJ,identifierToKeywordKind:()=>nS,identity:()=>To,identitySourceMapConsumer:()=>KW,ignoreSourceNewlines:()=>Tz,ignoredPaths:()=>h7,importFromModuleSpecifier:()=>ZD,importSyntaxAffectsModuleResolution:()=>RJ,indexOfAnyCharCode:()=>pQ,indexOfNode:()=>VC,indicesOf:()=>s7,inferredTypesContainingFile:()=>hw,injectClassNamedEvaluationHelperBlockIfMissing:()=>JO,injectClassThisAssignmentIfMissing:()=>rie,insertImports:()=>oq,insertSorted:()=>hy,insertStatementAfterCustomPrologue:()=>uS,insertStatementAfterStandardPrologue:()=>Qhe,insertStatementsAfterCustomPrologue:()=>yB,insertStatementsAfterStandardPrologue:()=>jg,intersperse:()=>GP,intrinsicTagNameToString:()=>sz,introducesArgumentsExoticObject:()=>AK,inverseJsxOptionMap:()=>_A,isAbstractConstructorSymbol:()=>Nee,isAbstractModifier:()=>$te,isAccessExpression:()=>wo,isAccessibilityModifier:()=>XV,isAccessor:()=>Fy,isAccessorModifier:()=>wz,isAliasableExpression:()=>E5,isAmbientModule:()=>Zu,isAmbientPropertyDeclaration:()=>wB,isAnyDirectorySeparator:()=>Aj,isAnyImportOrBareOrAccessedRequire:()=>gK,isAnyImportOrReExport:()=>F3,isAnyImportOrRequireStatement:()=>hK,isAnyImportSyntax:()=>vx,isAnySupportedFileExtension:()=>D0e,isApplicableVersionedTypesKey:()=>SA,isArgumentExpressionOfElementAccess:()=>jV,isArray:()=>cs,isArrayBindingElement:()=>B7,isArrayBindingOrAssignmentElement:()=>T3,isArrayBindingOrAssignmentPattern:()=>aB,isArrayBindingPattern:()=>F0,isArrayLiteralExpression:()=>_u,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>M0,isArrayTypeNode:()=>XN,isArrowFunction:()=>Po,isAsExpression:()=>T6,isAssertClause:()=>rre,isAssertEntry:()=>G0e,isAssertionExpression:()=>Ab,isAssertsKeyword:()=>Hte,isAssignmentDeclaration:()=>XD,isAssignmentExpression:()=>jl,isAssignmentOperator:()=>Nh,isAssignmentPattern:()=>RD,isAssignmentTarget:()=>zy,isAsteriskToken:()=>GN,isAsyncFunction:()=>n4,isAsyncModifier:()=>M4,isAutoAccessorPropertyDeclaration:()=>w_,isAwaitExpression:()=>Zy,isAwaitKeyword:()=>Dz,isBigIntLiteral:()=>y6,isBinaryExpression:()=>fn,isBinaryLogicalOperator:()=>mN,isBinaryOperatorToken:()=>Nre,isBindableObjectDefinePropertyCall:()=>mS,isBindableStaticAccessExpression:()=>Rb,isBindableStaticElementAccessExpression:()=>x5,isBindableStaticNameExpression:()=>gS,isBindingElement:()=>Ta,isBindingElementOfBareOrAccessedRequire:()=>JK,isBindingName:()=>oS,isBindingOrAssignmentElement:()=>JZ,isBindingOrAssignmentPattern:()=>b3,isBindingPattern:()=>As,isBlock:()=>Fs,isBlockLike:()=>bk,isBlockOrCatchScoped:()=>TB,isBlockScope:()=>PB,isBlockScopedContainerTopLevel:()=>mK,isBooleanLiteral:()=>MD,isBreakOrContinueStatement:()=>ID,isBreakStatement:()=>V0e,isBuildCommand:()=>jse,isBuildInfoFile:()=>Nie,isBuilderProgram:()=>YU,isBundle:()=>are,isCallChain:()=>iS,isCallExpression:()=>Is,isCallExpressionTarget:()=>IV,isCallLikeExpression:()=>Nb,isCallLikeOrFunctionLikeExpression:()=>oB,isCallOrNewExpression:()=>fm,isCallOrNewExpressionTarget:()=>FV,isCallSignatureDeclaration:()=>Xx,isCallToHelper:()=>L4,isCaseBlock:()=>U4,isCaseClause:()=>E6,isCaseKeyword:()=>Qte,isCaseOrDefaultClause:()=>U7,isCatchClause:()=>n2,isCatchClauseVariableDeclaration:()=>ute,isCatchClauseVariableDeclarationOrBindingElement:()=>xB,isCheckJsEnabledForFile:()=>x4,isCircularBuildOrder:()=>gk,isClassDeclaration:()=>cl,isClassElement:()=>Kc,isClassExpression:()=>Uc,isClassInstanceProperty:()=>jZ,isClassLike:()=>Qn,isClassMemberModifier:()=>nB,isClassNamedEvaluationHelperBlock:()=>pk,isClassOrTypeElement:()=>j7,isClassStaticBlockDeclaration:()=>Ic,isClassThisAssignmentBlock:()=>uw,isColonToken:()=>Vte,isCommaExpression:()=>rA,isCommaListExpression:()=>z4,isCommaSequence:()=>$4,isCommaToken:()=>Ute,isComment:()=>R9,isCommonJsExportPropertyAssignment:()=>l5,isCommonJsExportedExpression:()=>PK,isCompoundAssignment:()=>ow,isComputedNonLiteralName:()=>O3,isComputedPropertyName:()=>Ys,isConciseBody:()=>z7,isConditionalExpression:()=>AS,isConditionalTypeNode:()=>Zb,isConstAssertion:()=>az,isConstTypeReference:()=>ud,isConstructSignatureDeclaration:()=>B4,isConstructorDeclaration:()=>lc,isConstructorTypeNode:()=>v6,isContextualKeyword:()=>w5,isContinueStatement:()=>U0e,isCustomPrologue:()=>B3,isDebuggerStatement:()=>q0e,isDeclaration:()=>Ml,isDeclarationBindingElement:()=>v3,isDeclarationFileName:()=>Jl,isDeclarationName:()=>ng,isDeclarationNameOfEnumOrNamespace:()=>wJ,isDeclarationReadonly:()=>M3,isDeclarationStatement:()=>$Z,isDeclarationWithTypeParameterChildren:()=>AB,isDeclarationWithTypeParameters:()=>NB,isDecorator:()=>hl,isDecoratorTarget:()=>uae,isDefaultClause:()=>V4,isDefaultImport:()=>hS,isDefaultModifier:()=>LF,isDefaultedExpandoInitializer:()=>zK,isDeleteExpression:()=>Zte,isDeleteTarget:()=>$B,isDeprecatedDeclaration:()=>rL,isDestructuringAssignment:()=>k0,isDiskPathRoot:()=>Ij,isDoStatement:()=>W0e,isDocumentRegistryEntry:()=>g8,isDotDotDotToken:()=>FF,isDottedName:()=>hN,isDynamicName:()=>N5,isEffectiveExternalModule:()=>qC,isEffectiveStrictModeSourceFile:()=>DB,isElementAccessChain:()=>Yj,isElementAccessExpression:()=>ho,isEmittedFileOfProgram:()=>Rie,isEmptyArrayLiteral:()=>See,isEmptyBindingElement:()=>hZ,isEmptyBindingPattern:()=>gZ,isEmptyObjectLiteral:()=>xJ,isEmptyStatement:()=>Az,isEmptyStringLiteral:()=>jB,isEntityName:()=>u_,isEntityNameExpression:()=>so,isEnumConst:()=>Q1,isEnumDeclaration:()=>pv,isEnumMember:()=>Lh,isEqualityOperatorKind:()=>X9,isEqualsGreaterThanToken:()=>qte,isExclamationToken:()=>$N,isExcludedFile:()=>sne,isExclusivelyTypeOnlyImportOrExport:()=>PU,isExpandoPropertyDeclaration:()=>Wx,isExportAssignment:()=>Wo,isExportDeclaration:()=>qc,isExportModifier:()=>Gx,isExportName:()=>XF,isExportNamespaceAsDefaultDeclaration:()=>t5,isExportOrDefaultModifier:()=>aA,isExportSpecifier:()=>ju,isExportsIdentifier:()=>dS,isExportsOrModuleExportsOrAlias:()=>a2,isExpression:()=>ut,isExpressionNode:()=>rg,isExpressionOfExternalModuleImportEqualsDeclaration:()=>pae,isExpressionOfOptionalChainRoot:()=>O7,isExpressionStatement:()=>Bl,isExpressionWithTypeArguments:()=>Fh,isExpressionWithTypeArgumentsInClassExtendsClause:()=>U5,isExternalModule:()=>vl,isExternalModuleAugmentation:()=>Ob,isExternalModuleImportEqualsDeclaration:()=>Z1,isExternalModuleIndicator:()=>k3,isExternalModuleNameRelative:()=>Ol,isExternalModuleReference:()=>Oh,isExternalModuleSymbol:()=>mx,isExternalOrCommonJsModule:()=>uf,isFileLevelReservedGeneratedIdentifier:()=>y3,isFileLevelUniqueName:()=>K7,isFileProbablyExternalModule:()=>lA,isFirstDeclarationOfSymbolParameter:()=>pq,isFixablePromiseHandler:()=>Vq,isForInOrOfStatement:()=>cS,isForInStatement:()=>JF,isForInitializer:()=>_p,isForOfStatement:()=>YN,isForStatement:()=>fv,isFullSourceFile:()=>Jg,isFunctionBlock:()=>Lb,isFunctionBody:()=>lB,isFunctionDeclaration:()=>Fc,isFunctionExpression:()=>ko,isFunctionExpressionOrArrowFunction:()=>Gy,isFunctionLike:()=>Ps,isFunctionLikeDeclaration:()=>lo,isFunctionLikeKind:()=>_x,isFunctionLikeOrClassStaticBlockDeclaration:()=>JC,isFunctionOrConstructorTypeNode:()=>BZ,isFunctionOrModuleBlock:()=>iB,isFunctionSymbol:()=>VK,isFunctionTypeNode:()=>sg,isGeneratedIdentifier:()=>qo,isGeneratedPrivateIdentifier:()=>aS,isGetAccessor:()=>Lg,isGetAccessorDeclaration:()=>bp,isGetOrSetAccessorDeclaration:()=>h3,isGlobalScopeAugmentation:()=>tg,isGlobalSourceFile:()=>S0,isGrammarError:()=>cK,isHeritageClause:()=>gf,isHoistedFunction:()=>o5,isHoistedVariableStatement:()=>c5,isIdentifier:()=>Me,isIdentifierANonContextualKeyword:()=>KB,isIdentifierName:()=>ZK,isIdentifierOrThisTypeNode:()=>Ere,isIdentifierPart:()=>xh,isIdentifierStart:()=>Ym,isIdentifierText:()=>q_,isIdentifierTypePredicate:()=>IK,isIdentifierTypeReference:()=>ste,isIfStatement:()=>_v,isIgnoredFileFromWildCardWatching:()=>LA,isImplicitGlob:()=>WJ,isImportAttribute:()=>nre,isImportAttributeName:()=>RZ,isImportAttributes:()=>OS,isImportCall:()=>N_,isImportClause:()=>gd,isImportDeclaration:()=>Yo,isImportEqualsDeclaration:()=>yl,isImportKeyword:()=>j4,isImportMeta:()=>$C,isImportOrExportSpecifier:()=>Ay,isImportOrExportSpecifierName:()=>jae,isImportSpecifier:()=>n_,isImportTypeAssertionContainer:()=>H0e,isImportTypeNode:()=>Cm,isImportable:()=>Iq,isInComment:()=>L0,isInCompoundLikeAssignment:()=>GB,isInExpressionContext:()=>h5,isInJSDoc:()=>$D,isInJSFile:()=>on,isInJSXText:()=>bae,isInJsonFile:()=>v5,isInNonReferenceComment:()=>Eae,isInReferenceComment:()=>Cae,isInRightSideOfInternalImportEqualsDeclaration:()=>C9,isInString:()=>hk,isInTemplateString:()=>qV,isInTopLevelContext:()=>d5,isInTypeQuery:()=>wx,isIncrementalBuildInfo:()=>zA,isIncrementalBundleEmitBuildInfo:()=>ise,isIncrementalCompilation:()=>Gb,isIndexSignatureDeclaration:()=>Yy,isIndexedAccessTypeNode:()=>Kb,isInferTypeNode:()=>wS,isInfinityOrNaNString:()=>w4,isInitializedProperty:()=>CA,isInitializedVariable:()=>TN,isInsideJsxElement:()=>L9,isInsideJsxElementOrAttribute:()=>vae,isInsideNodeModules:()=>_8,isInsideTemplateLiteral:()=>t8,isInstanceOfExpression:()=>V5,isInstantiatedModule:()=>HW,isInterfaceDeclaration:()=>Zl,isInternalDeclaration:()=>eK,isInternalModuleImportEqualsDeclaration:()=>pS,isInternalName:()=>Gz,isIntersectionTypeNode:()=>Zx,isIntrinsicJsxName:()=>s6,isIterationStatement:()=>Oy,isJSDoc:()=>zd,isJSDocAllType:()=>lre,isJSDocAugmentsTag:()=>nk,isJSDocAuthorTag:()=>Y0e,isJSDocCallbackTag:()=>Lz,isJSDocClassTag:()=>_re,isJSDocCommentContainingNode:()=>V7,isJSDocConstructSignature:()=>Cx,isJSDocDeprecatedTag:()=>Jz,isJSDocEnumTag:()=>KN,isJSDocFunctionType:()=>w6,isJSDocImplementsTag:()=>HF,isJSDocImportTag:()=>Nm,isJSDocIndexSignature:()=>S5,isJSDocLikeText:()=>rW,isJSDocLink:()=>ore,isJSDocLinkCode:()=>cre,isJSDocLinkLike:()=>dx,isJSDocLinkPlain:()=>X0e,isJSDocMemberName:()=>gv,isJSDocNameReference:()=>q4,isJSDocNamepathType:()=>Q0e,isJSDocNamespaceBody:()=>Uhe,isJSDocNode:()=>zC,isJSDocNonNullableType:()=>WF,isJSDocNullableType:()=>D6,isJSDocOptionalParameter:()=>vF,isJSDocOptionalType:()=>Oz,isJSDocOverloadTag:()=>P6,isJSDocOverrideTag:()=>VF,isJSDocParameterTag:()=>Uf,isJSDocPrivateTag:()=>Rz,isJSDocPropertyLikeTag:()=>FD,isJSDocPropertyTag:()=>fre,isJSDocProtectedTag:()=>jz,isJSDocPublicTag:()=>Mz,isJSDocReadonlyTag:()=>Bz,isJSDocReturnTag:()=>qF,isJSDocSatisfiesExpression:()=>nz,isJSDocSatisfiesTag:()=>GF,isJSDocSeeTag:()=>Z0e,isJSDocSignature:()=>O0,isJSDocTag:()=>WC,isJSDocTemplateTag:()=>Qp,isJSDocThisTag:()=>zz,isJSDocThrowsTag:()=>eye,isJSDocTypeAlias:()=>qp,isJSDocTypeAssertion:()=>i2,isJSDocTypeExpression:()=>mv,isJSDocTypeLiteral:()=>MS,isJSDocTypeTag:()=>H4,isJSDocTypedefTag:()=>RS,isJSDocUnknownTag:()=>K0e,isJSDocUnknownType:()=>ure,isJSDocVariadicType:()=>UF,isJSXTagName:()=>YC,isJsonEqual:()=>mF,isJsonSourceFile:()=>pp,isJsxAttribute:()=>Pm,isJsxAttributeLike:()=>W7,isJsxAttributeName:()=>pte,isJsxAttributes:()=>r2,isJsxCallLike:()=>ZZ,isJsxChild:()=>D3,isJsxClosingElement:()=>t2,isJsxClosingFragment:()=>sre,isJsxElement:()=>wm,isJsxExpression:()=>C6,isJsxFragment:()=>dv,isJsxNamespacedName:()=>Jd,isJsxOpeningElement:()=>Bd,isJsxOpeningFragment:()=>hd,isJsxOpeningLikeElement:()=>Mu,isJsxOpeningLikeElementTagName:()=>_ae,isJsxSelfClosingElement:()=>LS,isJsxSpreadAttribute:()=>rk,isJsxTagNameExpression:()=>jD,isJsxText:()=>qx,isJumpStatementTarget:()=>YA,isKeyword:()=>I_,isKeywordOrPunctuation:()=>D5,isKnownSymbol:()=>s4,isLabelName:()=>MV,isLabelOfLabeledStatement:()=>LV,isLabeledStatement:()=>Ky,isLateVisibilityPaintedStatement:()=>n5,isLeftHandSideExpression:()=>P_,isLet:()=>a5,isLineBreak:()=>Fu,isLiteralComputedPropertyDeclarationName:()=>aN,isLiteralExpression:()=>sS,isLiteralExpressionOfObject:()=>tB,isLiteralImportTypeNode:()=>Eh,isLiteralKind:()=>OD,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>w9,isLiteralTypeLiteral:()=>UZ,isLiteralTypeNode:()=>I0,isLocalName:()=>Mh,isLogicalOperator:()=>yee,isLogicalOrCoalescingAssignmentExpression:()=>vJ,isLogicalOrCoalescingAssignmentOperator:()=>u4,isLogicalOrCoalescingBinaryExpression:()=>gN,isLogicalOrCoalescingBinaryOperator:()=>W5,isMappedTypeNode:()=>NS,isMemberName:()=>Og,isMetaProperty:()=>IS,isMethodDeclaration:()=>cc,isMethodOrAccessor:()=>fx,isMethodSignature:()=>md,isMinusToken:()=>Ez,isMissingDeclaration:()=>$0e,isMissingPackageJsonInfo:()=>gne,isModifier:()=>ra,isModifierKind:()=>Iy,isModifierLike:()=>Ho,isModuleAugmentationExternal:()=>CB,isModuleBlock:()=>Em,isModuleBody:()=>qZ,isModuleDeclaration:()=>Vc,isModuleExportName:()=>zF,isModuleExportsAccessExpression:()=>zg,isModuleIdentifier:()=>zB,isModuleName:()=>Pre,isModuleOrEnumDeclaration:()=>C3,isModuleReference:()=>QZ,isModuleSpecifierLike:()=>U9,isModuleWithStringLiteralName:()=>r5,isNameOfFunctionDeclaration:()=>JV,isNameOfModuleDeclaration:()=>BV,isNamedDeclaration:()=>Ll,isNamedEvaluation:()=>_f,isNamedEvaluationSource:()=>eJ,isNamedExportBindings:()=>Kj,isNamedExports:()=>Tp,isNamedImportBindings:()=>uB,isNamedImports:()=>Dm,isNamedImportsOrExports:()=>Q5,isNamedTupleMember:()=>b6,isNamespaceBody:()=>Whe,isNamespaceExport:()=>ag,isNamespaceExportDeclaration:()=>ZN,isNamespaceImport:()=>Xg,isNamespaceReexportDeclaration:()=>BK,isNewExpression:()=>e2,isNewExpressionTarget:()=>xw,isNewScopeNode:()=>bte,isNoSubstitutionTemplateLiteral:()=>DS,isNodeArray:()=>wb,isNodeArrayMultiLine:()=>Dee,isNodeDescendantOf:()=>Bb,isNodeKind:()=>M7,isNodeLikeSystem:()=>oj,isNodeModulesDirectory:()=>T7,isNodeWithPossibleHoistedDeclaration:()=>QK,isNonContextualKeyword:()=>ZB,isNonGlobalAmbientModule:()=>kB,isNonNullAccess:()=>fte,isNonNullChain:()=>L7,isNonNullExpression:()=>ek,isNonStaticMethodOrAccessorWithPrivateName:()=>Xne,isNotEmittedStatement:()=>ire,isNullishCoalesce:()=>Zj,isNumber:()=>by,isNumericLiteral:()=>O_,isNumericLiteralName:()=>Gg,isObjectBindingElementWithoutPropertyName:()=>s8,isObjectBindingOrAssignmentElement:()=>S3,isObjectBindingOrAssignmentPattern:()=>sB,isObjectBindingPattern:()=>Wf,isObjectLiteralElement:()=>_B,isObjectLiteralElementLike:()=>Ch,isObjectLiteralExpression:()=>ma,isObjectLiteralMethod:()=>Vp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>u5,isObjectTypeDeclaration:()=>Fx,isOmittedExpression:()=>Dl,isOptionalChain:()=>Ou,isOptionalChainRoot:()=>ND,isOptionalDeclaration:()=>Jx,isOptionalJSDocPropertyLikeTag:()=>RN,isOptionalTypeNode:()=>MF,isOuterExpression:()=>QF,isOutermostOptionalChain:()=>AD,isOverrideModifier:()=>Xte,isPackageJsonInfo:()=>SO,isPackedArrayLiteral:()=>tz,isParameter:()=>Li,isParameterPropertyDeclaration:()=>cf,isParameterPropertyModifier:()=>LD,isParenthesizedExpression:()=>m_,isParenthesizedTypeNode:()=>PS,isParseTreeNode:()=>PD,isPartOfParameterDeclaration:()=>nv,isPartOfTypeNode:()=>gm,isPartOfTypeOnlyImportOrExportDeclaration:()=>MZ,isPartOfTypeQuery:()=>y5,isPartiallyEmittedExpression:()=>Kte,isPatternMatch:()=>c7,isPinnedComment:()=>e5,isPlainJsFile:()=>JD,isPlusToken:()=>Cz,isPossiblyTypeArgumentPosition:()=>e8,isPostfixUnaryExpression:()=>Nz,isPrefixUnaryExpression:()=>uv,isPrimitiveLiteralValue:()=>TF,isPrivateIdentifier:()=>Oi,isPrivateIdentifierClassElementDeclaration:()=>Lu,isPrivateIdentifierPropertyAccessExpression:()=>BC,isPrivateIdentifierSymbol:()=>tee,isProgramUptoDate:()=>FU,isPrologueDirective:()=>mm,isPropertyAccessChain:()=>F7,isPropertyAccessEntityNameExpression:()=>yN,isPropertyAccessExpression:()=>Pn,isPropertyAccessOrQualifiedName:()=>x3,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>zZ,isPropertyAssignment:()=>ll,isPropertyDeclaration:()=>ls,isPropertyName:()=>Zc,isPropertyNameLiteral:()=>hm,isPropertySignature:()=>r_,isPrototypeAccess:()=>Vy,isPrototypePropertyAssignment:()=>K3,isPunctuation:()=>YB,isPushOrUnshiftIdentifier:()=>tJ,isQualifiedName:()=>p_,isQuestionDotToken:()=>OF,isQuestionOrExclamationToken:()=>Cre,isQuestionOrPlusOrMinusToken:()=>wre,isQuestionToken:()=>Qy,isReadonlyKeyword:()=>Gte,isReadonlyKeywordOrPlusOrMinusToken:()=>Dre,isRecognizedTripleSlashComment:()=>vB,isReferenceFileLocation:()=>H6,isReferencedFile:()=>kv,isRegularExpressionLiteral:()=>xz,isRequireCall:()=>A_,isRequireVariableStatement:()=>G3,isRestParameter:()=>Km,isRestTypeNode:()=>RF,isReturnStatement:()=>Ff,isReturnStatementWithFixablePromiseHandler:()=>uL,isRightSideOfAccessExpression:()=>TJ,isRightSideOfInstanceofExpression:()=>bee,isRightSideOfPropertyAccess:()=>Y6,isRightSideOfQualifiedName:()=>fae,isRightSideOfQualifiedNameOrPropertyAccess:()=>_4,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>vee,isRootedDiskPath:()=>of,isSameEntityName:()=>ZC,isSatisfiesExpression:()=>x6,isSemicolonClassElement:()=>ere,isSetAccessor:()=>pm,isSetAccessorDeclaration:()=>X_,isShiftOperatorOrHigher:()=>Kz,isShorthandAmbientModuleSymbol:()=>I3,isShorthandPropertyAssignment:()=>ku,isSideEffectImport:()=>cz,isSignedNumericLiteral:()=>P5,isSimpleCopiableExpression:()=>o2,isSimpleInlineableExpression:()=>lg,isSimpleParameterList:()=>EA,isSingleOrDoubleQuote:()=>$3,isSolutionConfig:()=>TW,isSourceElement:()=>mte,isSourceFile:()=>Ai,isSourceFileFromLibrary:()=>oE,isSourceFileJS:()=>__,isSourceFileNotJson:()=>b5,isSourceMapping:()=>Hne,isSpecialPropertyDeclaration:()=>UK,isSpreadAssignment:()=>Qg,isSpreadElement:()=>Sp,isStatement:()=>Ci,isStatementButNotDeclaration:()=>E3,isStatementOrBlock:()=>XZ,isStatementWithLocals:()=>oK,isStatic:()=>Vs,isStaticModifier:()=>$x,isString:()=>ys,isStringANonContextualKeyword:()=>Dx,isStringAndEmptyAnonymousObjectIntersection:()=>kae,isStringDoubleQuoted:()=>T5,isStringLiteral:()=>fa,isStringLiteralLike:()=>za,isStringLiteralOrJsxExpression:()=>YZ,isStringLiteralOrTemplate:()=>Wae,isStringOrNumericLiteralLike:()=>Jf,isStringOrRegularExpressionOrTemplateLiteral:()=>$V,isStringTextContainingNode:()=>rB,isSuperCall:()=>fS,isSuperKeyword:()=>R4,isSuperProperty:()=>H_,isSupportedSourceFileName:()=>GJ,isSwitchStatement:()=>W4,isSyntaxList:()=>N6,isSyntheticExpression:()=>z0e,isSyntheticReference:()=>tk,isTagName:()=>RV,isTaggedTemplateExpression:()=>lv,isTaggedTemplateTag:()=>lae,isTemplateExpression:()=>BF,isTemplateHead:()=>Hx,isTemplateLiteral:()=>px,isTemplateLiteralKind:()=>Ny,isTemplateLiteralToken:()=>OZ,isTemplateLiteralTypeNode:()=>Yte,isTemplateLiteralTypeSpan:()=>Pz,isTemplateMiddle:()=>kz,isTemplateMiddleOrTemplateTail:()=>R7,isTemplateSpan:()=>k6,isTemplateTail:()=>IF,isTextWhiteSpaceLike:()=>Nae,isThis:()=>Z6,isThisContainerOrFunctionBlock:()=>MK,isThisIdentifier:()=>Uy,isThisInTypeQuery:()=>Ub,isThisInitializedDeclaration:()=>m5,isThisInitializedObjectBindingExpression:()=>jK,isThisProperty:()=>W3,isThisTypeNode:()=>J4,isThisTypeParameter:()=>P4,isThisTypePredicate:()=>FK,isThrowStatement:()=>Fz,isToken:()=>ux,isTokenKind:()=>eB,isTraceEnabled:()=>t1,isTransientSymbol:()=>Mg,isTrivia:()=>n6,isTryStatement:()=>FS,isTupleTypeNode:()=>Yx,isTypeAlias:()=>rN,isTypeAliasDeclaration:()=>Xp,isTypeAssertionExpression:()=>jF,isTypeDeclaration:()=>Bx,isTypeElement:()=>Pb,isTypeKeyword:()=>Dw,isTypeKeywordTokenOrIdentifier:()=>J9,isTypeLiteralNode:()=>d_,isTypeNode:()=>_i,isTypeNodeKind:()=>IJ,isTypeOfExpression:()=>S6,isTypeOnlyExportDeclaration:()=>LZ,isTypeOnlyImportDeclaration:()=>jC,isTypeOnlyImportOrExportDeclaration:()=>v0,isTypeOperatorNode:()=>cv,isTypeParameterDeclaration:()=>zo,isTypePredicateNode:()=>Qx,isTypeQueryNode:()=>Yb,isTypeReferenceNode:()=>mf,isTypeReferenceType:()=>H7,isTypeUsableAsPropertyName:()=>yp,isUMDExportSymbol:()=>X5,isUnaryExpression:()=>cB,isUnaryExpressionWithWrite:()=>WZ,isUnicodeIdentifierStart:()=>k7,isUnionTypeNode:()=>A0,isUrl:()=>XY,isValidBigIntString:()=>gF,isValidESSymbolDeclaration:()=>NK,isValidTypeOnlyAliasUseSite:()=>sv,isValueSignatureDeclaration:()=>yS,isVarAwaitUsing:()=>R3,isVarConst:()=>GC,isVarConstLike:()=>EK,isVarUsing:()=>j3,isVariableDeclaration:()=>ri,isVariableDeclarationInVariableStatement:()=>VD,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>Mb,isVariableDeclarationInitializedToRequire:()=>H3,isVariableDeclarationList:()=>Yl,isVariableLike:()=>UD,isVariableStatement:()=>Bc,isVoidExpression:()=>Kx,isWatchSet:()=>PJ,isWhileStatement:()=>Iz,isWhiteSpaceLike:()=>Ag,isWhiteSpaceSingleLine:()=>_m,isWithStatement:()=>tre,isWriteAccess:()=>Ix,isWriteOnlyAccess:()=>$5,isYieldExpression:()=>QN,jsxModeNeedsExplicitImport:()=>Pq,keywordPart:()=>bf,last:()=>ha,lastOrUndefined:()=>Fo,length:()=>yr,libMap:()=>oW,libs:()=>nO,lineBreakPart:()=>iE,loadModuleFromGlobalCache:()=>wne,loadWithModeAwareCache:()=>RA,makeIdentifierFromModuleName:()=>dK,makeImport:()=>c1,makeStringLiteral:()=>ww,mangleScopedPackageName:()=>z6,map:()=>hr,mapAllOrFail:()=>JR,mapDefined:()=>Mi,mapDefinedIterator:()=>gy,mapEntries:()=>gQ,mapIterator:()=>oD,mapOneOrMany:()=>Cq,mapToDisplayParts:()=>l1,matchFiles:()=>VJ,matchPatternOrExact:()=>XJ,matchedText:()=>NQ,matchesExclude:()=>gO,matchesExcludeWorker:()=>hO,maxBy:()=>KR,maybeBind:()=>Rs,maybeSetLocalizedDiagnosticMessages:()=>Mee,memoize:()=>Yu,memoizeOne:()=>um,min:()=>ej,minAndMax:()=>rte,missingFileModifiedTime:()=>af,modifierToFlag:()=>Nx,modifiersToFlags:()=>bm,moduleExportNameIsDefault:()=>eg,moduleExportNameTextEscaped:()=>Fb,moduleExportNameTextUnescaped:()=>jy,moduleOptionDeclaration:()=>zre,moduleResolutionIsEqualTo:()=>sK,moduleResolutionNameAndModeGetter:()=>$O,moduleResolutionOptionDeclarations:()=>lW,moduleResolutionSupportsPackageJsonExportsAndImports:()=>f6,moduleResolutionUsesNodeModules:()=>z9,moduleSpecifierToValidIdentifier:()=>p8,moduleSpecifiers:()=>jh,moduleSupportsImportAttributes:()=>Uee,moduleSymbolToValidIdentifier:()=>f8,moveEmitHelpers:()=>Ote,moveRangeEnd:()=>H5,moveRangePastDecorators:()=>Ah,moveRangePastModifiers:()=>Sm,moveRangePos:()=>iv,moveSyntheticComments:()=>Ate,mutateMap:()=>g4,mutateMapSkippingNewValues:()=>Ug,needsParentheses:()=>G9,needsScopeMarker:()=>J7,newCaseClauseTracker:()=>sL,newPrivateEnvironment:()=>Yne,noEmitNotification:()=>NA,noEmitSubstitution:()=>fw,noTransformers:()=>wie,noTruncationMaximumTruncationLength:()=>dB,nodeCanBeDecorated:()=>V3,nodeCoreModules:()=>g6,nodeHasName:()=>d3,nodeIsDecorated:()=>QC,nodeIsMissing:()=>mc,nodeIsPresent:()=>Up,nodeIsSynthesized:()=>go,nodeModuleNameResolver:()=>Sne,nodeModulesPathPart:()=>Yg,nodeNextJsonConfigResolver:()=>Tne,nodeOrChildIsDecorated:()=>q3,nodeOverlapsWithStartEnd:()=>P9,nodePosToString:()=>Hhe,nodeSeenTracker:()=>tE,nodeStartsNewLexicalEnvironment:()=>rJ,noop:()=>Xa,noopFileWatcher:()=>X6,normalizePath:()=>Qs,normalizeSlashes:()=>Xl,normalizeSpans:()=>Uj,not:()=>u7,notImplemented:()=>$s,notImplementedResolver:()=>Fie,nullNodeConverters:()=>wte,nullParenthesizerRules:()=>Ete,nullTransformationContext:()=>IA,objectAllocator:()=>lu,operatorPart:()=>Nw,optionDeclarations:()=>yd,optionMapToObject:()=>uO,optionsAffectingProgramStructure:()=>qre,optionsForBuild:()=>_W,optionsForWatch:()=>ck,optionsHaveChanges:()=>gx,or:()=>sf,orderedRemoveItem:()=>_D,orderedRemoveItemAt:()=>ky,packageIdToPackageName:()=>Z7,packageIdToString:()=>X1,parameterIsThisKeyword:()=>Wy,parameterNamePart:()=>Iae,parseBaseNodeFactory:()=>Lre,parseBigInt:()=>ite,parseBuildCommand:()=>Kre,parseCommandLine:()=>Yre,parseCommandLineWorker:()=>fW,parseConfigFileTextToJson:()=>dW,parseConfigFileWithSystem:()=>yse,parseConfigHostFromCompilerHostLike:()=>e9,parseCustomTypeOption:()=>oO,parseIsolatedEntityName:()=>ok,parseIsolatedJSDocComment:()=>Rre,parseJSDocTypeExpressionForTests:()=>kye,parseJsonConfigFileContent:()=>e1e,parseJsonSourceFileConfigFileContent:()=>gA,parseJsonText:()=>uA,parseListTypeOption:()=>Xre,parseNodeFactory:()=>yv,parseNodeModuleFromPath:()=>bA,parsePackageName:()=>kO,parsePseudoBigInt:()=>C4,parseValidBigInt:()=>KJ,pasteEdits:()=>wG,patchWriteFileEnsuringDirectory:()=>$Y,pathContainsNodeModules:()=>n1,pathIsAbsolute:()=>bD,pathIsBareSpecifier:()=>Fj,pathIsRelative:()=>Af,patternText:()=>PQ,performIncrementalCompilation:()=>vse,performance:()=>jQ,positionBelongsToNode:()=>zV,positionIsASICandidate:()=>Q9,positionIsSynthesized:()=>Rd,positionsAreOnSameLine:()=>gp,preProcessFile:()=>lSe,probablyUsesSemicolons:()=>u8,processCommentPragmas:()=>sW,processPragmasIntoFields:()=>aW,processTaggedTemplateExpression:()=>oU,programContainsEsModules:()=>wae,programContainsModules:()=>Dae,projectReferenceIsEqualTo:()=>mB,propertyNamePart:()=>Fae,pseudoBigIntToString:()=>$b,punctuationPart:()=>zu,pushIfUnique:()=>cp,quote:()=>Fw,quotePreferenceFromString:()=>iq,rangeContainsPosition:()=>K6,rangeContainsPositionExclusive:()=>ZA,rangeContainsRange:()=>F_,rangeContainsRangeExclusive:()=>dae,rangeContainsStartEnd:()=>KA,rangeEndIsOnSameLineAsRangeStart:()=>SN,rangeEndPositionsAreOnSameLine:()=>Cee,rangeEquals:()=>qR,rangeIsOnSingleLine:()=>TS,rangeOfNode:()=>YJ,rangeOfTypeParameters:()=>ZJ,rangeOverlapsWithStartEnd:()=>kw,rangeStartIsOnSameLineAsRangeEnd:()=>Eee,rangeStartPositionsAreOnSameLine:()=>G5,readBuilderProgram:()=>_9,readConfigFile:()=>dA,readJson:()=>c6,readJsonConfigFile:()=>ene,readJsonOrUndefined:()=>kJ,reduceEachLeadingCommentRange:()=>nZ,reduceEachTrailingCommentRange:()=>iZ,reduceLeft:()=>Qu,reduceLeftIterator:()=>aD,reducePathComponents:()=>ox,refactor:()=>Tk,regExpEscape:()=>S0e,regularExpressionFlagToCharacterCode:()=>bhe,relativeComplement:()=>hQ,removeAllComments:()=>UN,removeEmitHelper:()=>R0e,removeExtension:()=>FN,removeFileExtension:()=>t_,removeIgnoredPath:()=>i9,removeMinAndVersionNumbers:()=>nj,removePrefix:()=>fD,removeSuffix:()=>wC,removeTrailingDirectorySeparator:()=>h0,repeatString:()=>n8,replaceElement:()=>$R,replaceFirstStar:()=>kS,resolutionExtensionIsTSOrJson:()=>S4,resolveConfigFileProjectName:()=>_V,resolveJSModule:()=>yne,resolveLibrary:()=>xO,resolveModuleName:()=>zS,resolveModuleNameFromCache:()=>N1e,resolvePackageNameToPackageJson:()=>EW,resolvePath:()=>Ey,resolveProjectReferencePath:()=>dk,resolveTripleslashReference:()=>kU,resolveTypeReferenceDirective:()=>dne,resolvingEmptyArray:()=>pB,returnFalse:()=>Sh,returnNoopFileWatcher:()=>bw,returnTrue:()=>xb,returnUndefined:()=>kb,returnsPromise:()=>Uq,rewriteModuleSpecifier:()=>_k,sameFlatMap:()=>dQ,sameMap:()=>nl,sameMapping:()=>bve,scanTokenAtPosition:()=>CK,scanner:()=>Kl,semanticDiagnosticsOptionDeclarations:()=>Wre,serializeCompilerOptions:()=>vW,server:()=>_3e,servicesVersion:()=>ZTe,setCommentRange:()=>ol,setConfigFileInOptions:()=>bW,setConstantValue:()=>Fte,setEmitFlags:()=>_n,setGetSourceFileAsHashVersioned:()=>u9,setIdentifierAutoGenerate:()=>HN,setIdentifierGeneratedImportReference:()=>Rte,setIdentifierTypeArguments:()=>N0,setInternalEmitFlags:()=>VN,setLocalizedDiagnosticMessages:()=>Lee,setNodeChildren:()=>pre,setNodeFlags:()=>ote,setObjectAllocator:()=>Oee,setOriginalNode:()=>En,setParent:()=>Ua,setParentRecursive:()=>av,setPrivateIdentifier:()=>US,setSnippetElement:()=>Sz,setSourceMapRange:()=>Sa,setStackTraceLimit:()=>nhe,setStartsOnNewLine:()=>wF,setSyntheticLeadingComments:()=>ov,setSyntheticTrailingComments:()=>Ux,setSys:()=>lhe,setSysLog:()=>qY,setTextRange:()=>ct,setTextRangeEnd:()=>m6,setTextRangePos:()=>E4,setTextRangePosEnd:()=>jd,setTextRangePosWidth:()=>ez,setTokenSourceMapRange:()=>Nte,setTypeNode:()=>Lte,setUILocale:()=>EQ,setValueDeclaration:()=>YD,shouldAllowImportingTsExtension:()=>W6,shouldPreserveConstEnums:()=>qy,shouldRewriteModuleSpecifier:()=>tN,shouldUseUriStyleNodeCoreModules:()=>nL,showModuleSpecifier:()=>Aee,signatureHasRestParameter:()=>Ju,signatureToDisplayParts:()=>mq,single:()=>GR,singleElementArray:()=>ix,singleIterator:()=>mQ,singleOrMany:()=>Xm,singleOrUndefined:()=>Pg,skipAlias:()=>cu,skipConstraint:()=>tq,skipOuterExpressions:()=>Cc,skipParentheses:()=>Wa,skipPartiallyEmittedExpressions:()=>_d,skipTrivia:()=>_a,skipTypeChecking:()=>d6,skipTypeCheckingIgnoringNoCheck:()=>nte,skipTypeParentheses:()=>KD,skipWhile:()=>IQ,sliceAfter:()=>QJ,some:()=>ot,sortAndDeduplicate:()=>uD,sortAndDeduplicateDiagnostics:()=>LC,sourceFileAffectingCompilerOptions:()=>uW,sourceFileMayBeEmitted:()=>zb,sourceMapCommentRegExp:()=>XW,sourceMapCommentRegExpDontCareLineStart:()=>Une,spacePart:()=>yc,spanMap:()=>zR,startEndContainsRange:()=>DJ,startEndOverlapsWithStartEnd:()=>N9,startOnNewLine:()=>Bu,startTracing:()=>WQ,startsWith:()=>Hi,startsWithDirectory:()=>Mj,startsWithUnderscore:()=>wq,startsWithUseStrict:()=>bre,stringContainsAt:()=>Xae,stringToToken:()=>tS,stripQuotes:()=>Hp,supportedDeclarationExtensions:()=>fF,supportedJSExtensionsFlat:()=>p6,supportedLocaleDirectories:()=>vZ,supportedTSExtensionsFlat:()=>qJ,supportedTSImplementationExtensions:()=>NN,suppressLeadingAndTrailingTrivia:()=>df,suppressLeadingTrivia:()=>mz,suppressTrailingTrivia:()=>Tte,symbolEscapedNameNoDefault:()=>W9,symbolName:()=>dc,symbolNameNoDefault:()=>aq,symbolToDisplayParts:()=>Aw,sys:()=>xl,sysLog:()=>r3,tagNamesAreEquivalent:()=>bv,takeWhile:()=>aj,targetOptionDeclaration:()=>cW,targetToLibMap:()=>sZ,testFormatSettings:()=>A2e,textChangeRangeIsUnchanged:()=>dZ,textChangeRangeNewSpan:()=>wD,textChanges:()=>ln,textOrKeywordPart:()=>dq,textPart:()=>Gf,textRangeContainsPositionInclusive:()=>u3,textRangeContainsTextSpan:()=>cZ,textRangeIntersectsWithTextSpan:()=>fZ,textSpanContainsPosition:()=>zj,textSpanContainsTextRange:()=>Wj,textSpanContainsTextSpan:()=>oZ,textSpanEnd:()=>ac,textSpanIntersection:()=>pZ,textSpanIntersectsWith:()=>_3,textSpanIntersectsWithPosition:()=>_Z,textSpanIntersectsWithTextSpan:()=>uZ,textSpanIsEmpty:()=>aZ,textSpanOverlap:()=>lZ,textSpanOverlapsWith:()=>whe,textSpansEqual:()=>nE,textToKeywordObj:()=>x7,timestamp:()=>fo,toArray:()=>rx,toBuilderFileEmit:()=>ose,toBuilderStateFileInfoForMultiEmit:()=>ase,toEditorSettings:()=>S8,toFileNameLowerCase:()=>Sy,toPath:()=>po,toProgramEmitPending:()=>cse,toSorted:()=>nf,tokenIsIdentifierOrKeyword:()=>D_,tokenIsIdentifierOrKeywordOrGreaterThan:()=>YY,tokenToString:()=>Xs,trace:()=>ns,tracing:()=>cn,tracingEnabled:()=>t3,transferSourceFileChildren:()=>dre,transform:()=>cxe,transformClassFields:()=>oie,transformDeclarations:()=>_U,transformECMAScriptModule:()=>uU,transformES2015:()=>Sie,transformES2016:()=>bie,transformES2017:()=>_ie,transformES2018:()=>fie,transformES2019:()=>pie,transformES2020:()=>die,transformES2021:()=>mie,transformESDecorators:()=>uie,transformESNext:()=>gie,transformGenerators:()=>Tie,transformImpliedNodeFormatDependentModule:()=>kie,transformJsx:()=>vie,transformLegacyDecorators:()=>lie,transformModule:()=>lU,transformNamedEvaluation:()=>hf,transformNodes:()=>AA,transformSystemModule:()=>xie,transformTypeScript:()=>aie,transpile:()=>ySe,transpileDeclaration:()=>gSe,transpileModule:()=>yoe,transpileOptionValueCompilerOptions:()=>Hre,tryAddToSet:()=>g0,tryAndIgnoreErrors:()=>K9,tryCast:()=>zn,tryDirectoryExists:()=>Z9,tryExtractTSExtension:()=>q5,tryFileExists:()=>Lw,tryGetClassExtendingExpressionWithTypeArguments:()=>bJ,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>SJ,tryGetDirectories:()=>Y9,tryGetExtensionFromPath:()=>Hg,tryGetImportFromModuleSpecifier:()=>eN,tryGetJSDocSatisfiesTypeNode:()=>bF,tryGetModuleNameFromFile:()=>iA,tryGetModuleSpecifierFromDeclaration:()=>Tx,tryGetNativePerformanceHooks:()=>RQ,tryGetPropertyAccessOrIdentifierToString:()=>vN,tryGetPropertyNameOfBindingOrAssignmentElement:()=>ZF,tryGetSourceMappingURL:()=>Vne,tryGetTextOfPropertyName:()=>WD,tryParseJson:()=>bN,tryParsePattern:()=>jx,tryParsePatterns:()=>ON,tryParseRawSourceMap:()=>qne,tryReadDirectory:()=>Sq,tryReadFile:()=>Y4,tryRemoveDirectoryPrefix:()=>zJ,tryRemoveExtension:()=>tte,tryRemovePrefix:()=>sj,tryRemoveSuffix:()=>wQ,tscBuildOption:()=>BS,typeAcquisitionDeclarations:()=>sO,typeAliasNamePart:()=>Oae,typeDirectiveIsEqualTo:()=>aK,typeKeywords:()=>eq,typeParameterNamePart:()=>Lae,typeToDisplayParts:()=>o8,unchangedPollThresholds:()=>g7,unchangedTextChangeRange:()=>D7,unescapeLeadingUnderscores:()=>ki,unmangleScopedPackageName:()=>TA,unorderedRemoveItem:()=>nx,unprefixedNodeCoreModules:()=>vte,unreachableCodeIsError:()=>zee,unsetNodeChildren:()=>Uz,unusedLabelIsError:()=>Wee,unwrapInnermostStatementOfLabel:()=>MB,unwrapParenthesizedExpression:()=>hte,updateErrorForNoInputFiles:()=>mO,updateLanguageServiceSourceFile:()=>gH,updateMissingFilePathsWatch:()=>SU,updateResolutionField:()=>R6,updateSharedExtendedConfigFileWatcher:()=>VO,updateSourceFile:()=>nW,updateWatchingWildcardDirectories:()=>OA,usingSingleLineStringWriter:()=>UC,utf16EncodeAsString:()=>DD,validateLocaleAndSetLanguage:()=>qj,version:()=>co,versionMajorMinor:()=>Yc,visitArray:()=>sw,visitCommaListElements:()=>IO,visitEachChild:()=>Sr,visitFunctionBody:()=>Hf,visitIterationBody:()=>g_,visitLexicalEnvironment:()=>$W,visitNode:()=>Qe,visitNodes:()=>Ar,visitParameterList:()=>hc,walkUpBindingElementsAndPatterns:()=>rS,walkUpOuterExpressions:()=>Sre,walkUpParenthesizedExpressions:()=>pd,walkUpParenthesizedTypes:()=>sN,walkUpParenthesizedTypesAndGetParentAndChild:()=>YK,whitespaceOrMapCommentRegExp:()=>QW,writeCommentRange:()=>o6,writeFile:()=>B5,writeFileEnsuringDirectories:()=>pJ,zipWith:()=>ZT}),zs.exports=xc(_o);var Yc="5.9",co="5.9.3",kc=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(kc||{}),Ue=[],Rl=new Map;function yr(e){return e!==void 0?e.length:0}function Qt(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=t(e[n],n);if(i)return i}}function Tl(e,t){if(e!==void 0)for(let n=e.length-1;n>=0;n--){const i=t(e[n],n);if(i)return i}}function Ka(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=t(e[n],n);if(i!==void 0)return i}}function Q2(e,t){for(const n of e){const i=t(n);if(i!==void 0)return i}}function aD(e,t,n){let i=n;if(e){let s=0;for(const o of e)i=t(i,o,s),s++}return i}function ZT(e,t,n){const i=[];E.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)i.push(n(e[s],t[s],s));return i}function GP(e,t){if(e.length<=1)return e;const n=[];for(let i=0,s=e.length;i<s;i++)i!==0&&n.push(t),n.push(e[i]);return n}function Pi(e,t){if(e!==void 0){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function An(e,t,n){if(e!==void 0)for(let i=n??0;i<e.length;i++){const s=e[i];if(t(s,i))return s}}function Sb(e,t,n){if(e!==void 0)for(let i=n??e.length-1;i>=0;i--){const s=e[i];if(t(s,i))return s}}function pc(e,t,n){if(e===void 0)return-1;for(let i=n??0;i<e.length;i++)if(t(e[i],i))return i;return-1}function i7(e,t,n){if(e===void 0)return-1;for(let i=n??e.length-1;i>=0;i--)if(t(e[i],i))return i;return-1}function hs(e,t,n=Ty){if(e!==void 0){for(let i=0;i<e.length;i++)if(n(e[i],t))return!0}return!1}function pQ(e,t,n){for(let i=n??0;i<e.length;i++)if(hs(t,e.charCodeAt(i)))return i;return-1}function m0(e,t){let n=0;if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i];t(s,i)&&n++}return n}function Cn(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;if(i<n){const s=e.slice(0,i);for(i++;i<n;){const o=e[i];t(o)&&s.push(o),i++}return s}}return e}function jR(e,t){let n=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[n]=e[i],n++);e.length=n}function jp(e){e.length=0}function hr(e,t){let n;if(e!==void 0){n=[];for(let i=0;i<e.length;i++)n.push(t(e[i],i))}return n}function*oD(e,t){for(const n of e)yield t(n)}function nl(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=e[n],s=t(i,n);if(i!==s){const o=e.slice(0,n);for(o.push(s),n++;n<e.length;n++)o.push(t(e[n],n));return o}}return e}function Bp(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];i&&(cs(i)?Fn(t,i):t.push(i))}return t}function wa(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s&&(cs(s)?n=Fn(n,s):n=Dr(n,s))}return n??Ue}function cD(e,t){const n=[];if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s&&(cs(s)?Fn(n,s):n.push(s))}return n}function*BR(e,t){for(const n of e){const i=t(n);i&&(yield*i)}}function dQ(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i],o=t(s,i);(n||s!==o||cs(o))&&(n||(n=e.slice(0,i)),cs(o)?Fn(n,o):n.push(o))}return n??e}function JR(e,t){const n=[];for(let i=0;i<e.length;i++){const s=t(e[i],i);if(s===void 0)return;n.push(s)}return n}function Mi(e,t){const n=[];if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s!==void 0&&n.push(s)}return n}function*gy(e,t){for(const n of e){const i=t(n);i!==void 0&&(yield i)}}function lD(e,t,n){if(e.has(t))return e.get(t);const i=n();return e.set(t,i),i}function g0(e,t){return e.has(t)?!1:(e.add(t),!0)}function*mQ(e){yield e}function zR(e,t,n){let i;if(e!==void 0){i=[];const s=e.length;let o,c,_=0,u=0;for(;_<s;){for(;u<s;){const g=e[u];if(c=t(g,u),u===0)o=c;else if(c!==o)break;u++}if(_<u){const g=n(e.slice(_,u),o,_,u);g&&i.push(g),_=u}o=c,u++}}return i}function gQ(e,t){if(e===void 0)return;const n=new Map;return e.forEach((i,s)=>{const[o,c]=t(s,i);n.set(o,c)}),n}function ot(e,t){if(e!==void 0)if(t!==void 0){for(let n=0;n<e.length;n++)if(t(e[n]))return!0}else return e.length>0;return!1}function WR(e,t,n){let i;for(let s=0;s<e.length;s++)t(e[s])?i=i===void 0?s:i:i!==void 0&&(n(i,s),i=void 0);i!==void 0&&n(i,e.length)}function Wi(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function YFe(e,t){return t}function s7(e){return e.map(YFe)}function ZFe(e,t,n){const i=s7(e);tOe(e,i,n);let s=e[i[0]];const o=[i[0]];for(let c=1;c<i.length;c++){const _=i[c],u=e[_];t(s,u)||(o.push(_),s=u)}return o.sort(),o.map(c=>e[c])}function KFe(e,t){const n=[];for(let i=0;i<e.length;i++)cp(n,e[i],t);return n}function Tb(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?ZFe(e,t,n):KFe(e,t)}function eOe(e,t){if(e.length===0)return Ue;let n=e[0];const i=[n];for(let s=1;s<e.length;s++){const o=e[s];switch(t(o,n)){case!0:case 0:continue;case-1:return E.fail("Array is unsorted.")}i.push(n=o)}return i}function UR(){return[]}function hy(e,t,n,i,s){if(e.length===0)return e.push(t),!0;const o=vy(e,t,To,n);if(o<0){if(i&&!s){const c=~o;if(c>0&&i(t,e[c-1]))return!1;if(c<e.length&&i(t,e[c]))return e.splice(c,1,t),!0}return e.splice(~o,0,t),!0}return s?(e.splice(o,0,t),!0):!1}function uD(e,t,n){return eOe(nf(e,t),n??t??vu)}function Nf(e,t,n=Ty){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i],i))return!1;return!0}function $P(e){let t;if(e!==void 0)for(let n=0;n<e.length;n++){const i=e[n];(t??!i)&&(t??(t=e.slice(0,n)),i&&t.push(i))}return t??e}function hQ(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;const i=[];e:for(let s=0,o=0;o<t.length;o++){o>0&&E.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(const c=s;s<e.length;s++)switch(s>c&&E.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[o],e[s])){case-1:i.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return i}function Dr(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function KT(e,t){return e===void 0?t:t===void 0?e:cs(e)?cs(t)?Wi(e,t):Dr(e,t):cs(t)?Dr(t,e):[e,t]}function yQ(e,t){return t<0?e.length+t:t}function Fn(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:yQ(t,n),i=i===void 0?t.length:yQ(t,i);for(let s=n;s<i&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function cp(e,t,n){return hs(e,t,n)?!1:(e.push(t),!0)}function bh(e,t,n){return e!==void 0?(cp(e,t,n),e):[t]}function tOe(e,t,n){t.sort((i,s)=>n(e[i],e[s])||xo(i,s))}function nf(e,t){return e.length===0?Ue:e.slice().sort(t)}function*VR(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function qR(e,t,n,i){for(;n<i;){if(e[n]!==t[n])return!1;n++}return!0}var yy=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e!==void 0&&(t=yQ(e,t),t<e.length))return e[t]};function il(e){return e===void 0||e.length===0?void 0:e[0]}function a7(e){if(e!==void 0)for(const t of e)return t}function Pa(e){return E.assert(e.length!==0),e[0]}function HR(e){for(const t of e)return t;E.fail("iterator is empty")}function Fo(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function ha(e){return E.assert(e.length!==0),e[e.length-1]}function Pg(e){return e!==void 0&&e.length===1?e[0]:void 0}function GR(e){return E.checkDefined(Pg(e))}function Xm(e){return e!==void 0&&e.length===1?e[0]:e}function $R(e,t,n){const i=e.slice(0);return i[t]=n,i}function vy(e,t,n,i,s){return ex(e,n(t),n,i,s)}function ex(e,t,n,i,s){if(!ot(e))return-1;let o=s??0,c=e.length-1;for(;o<=c;){const _=o+(c-o>>1),u=n(e[_],_);switch(i(u,t)){case-1:o=_+1;break;case 0:return _;case 1:c=_-1;break}}return~o}function Qu(e,t,n,i,s){if(e&&e.length>0){const o=e.length;if(o>0){let c=i===void 0||i<0?0:i;const _=s===void 0||c+s>o-1?o-1:c+s;let u;for(arguments.length<=2?(u=e[c],c++):u=n;c<=_;)u=t(u,e[c],c),c++;return u}}return n}var U1=Object.prototype.hasOwnProperty;function io(e,t){return U1.call(e,t)}function XP(e,t){return U1.call(e,t)?e[t]:void 0}function lm(e){const t=[];for(const n in e)U1.call(e,n)&&t.push(n);return t}function zge(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const i of n)cp(t,i)}while(e=Object.getPrototypeOf(e));return t}function tx(e){const t=[];for(const n in e)U1.call(e,n)&&t.push(e[n]);return t}function vQ(e,t){const n=new Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}function as(e,t){const n=[];for(const i of e)n.push(t?t(i):i);return n}function Y2(e,...t){for(const n of t)if(n!==void 0)for(const i in n)io(n,i)&&(e[i]=n[i]);return e}function bQ(e,t,n=Ty){if(e===t)return!0;if(!e||!t)return!1;for(const i in e)if(U1.call(e,i)&&(!U1.call(t,i)||!n(e[i],t[i])))return!1;for(const i in t)if(U1.call(t,i)&&!U1.call(e,i))return!1;return!0}function CC(e,t,n=To){const i=new Map;for(let s=0;s<e.length;s++){const o=e[s],c=t(o);c!==void 0&&i.set(c,n(o))}return i}function SQ(e,t,n=To){const i=[];for(let s=0;s<e.length;s++){const o=e[s];i[t(o)]=n(o)}return i}function QP(e,t,n=To){const i=Jp();for(let s=0;s<e.length;s++){const o=e[s];i.add(t(o),n(o))}return i}function EC(e,t,n=To){return as(QP(e,t).values(),n)}function XR(e,t){const n={};if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i],o=`${t(s)}`;(n[o]??(n[o]=[])).push(s)}return n}function TQ(e){const t={};for(const n in e)U1.call(e,n)&&(t[n]=e[n]);return t}function QR(e,t){const n={};for(const i in t)U1.call(t,i)&&(n[i]=t[i]);for(const i in e)U1.call(e,i)&&(n[i]=e[i]);return n}function YR(e,t){for(const n in t)U1.call(t,n)&&(e[n]=t[n])}function Rs(e,t){return t?.bind(e)}function Jp(){const e=new Map;return e.add=rOe,e.remove=nOe,e}function rOe(e,t){let n=this.get(e);return n!==void 0?n.push(t):this.set(e,n=[t]),n}function nOe(e,t){const n=this.get(e);n!==void 0&&(nx(n,t),n.length||this.delete(e))}function YP(e){const t=e?.slice()??[];let n=0;function i(){return n===t.length}function s(...c){t.push(...c)}function o(){if(i())throw new Error("Queue is empty");const c=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){const _=t.length-n;t.copyWithin(0,n),t.length=_,n=0}return c}return{enqueue:s,dequeue:o,isEmpty:i}}function ZR(e,t){const n=new Map;let i=0;function*s(){for(const c of n.values())cs(c)?yield*c:yield c}const o={has(c){const _=e(c);if(!n.has(_))return!1;const u=n.get(_);return cs(u)?hs(u,c,t):t(u,c)},add(c){const _=e(c);if(n.has(_)){const u=n.get(_);if(cs(u))hs(u,c,t)||(u.push(c),i++);else{const g=u;t(g,c)||(n.set(_,[g,c]),i++)}}else n.set(_,c),i++;return this},delete(c){const _=e(c);if(!n.has(_))return!1;const u=n.get(_);if(cs(u)){for(let g=0;g<u.length;g++)if(t(u[g],c))return u.length===1?n.delete(_):u.length===2?n.set(_,u[1-g]):Vge(u,g),i--,!0}else if(t(u,c))return n.delete(_),i--,!0;return!1},clear(){n.clear(),i=0},get size(){return i},forEach(c){for(const _ of as(n.values()))if(cs(_))for(const u of _)c(u,u,o);else{const u=_;c(u,u,o)}},keys(){return s()},values(){return s()},*entries(){for(const c of s())yield[c,c]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function cs(e){return Array.isArray(e)}function rx(e){return cs(e)?e:[e]}function ys(e){return typeof e=="string"}function by(e){return typeof e=="number"}function zn(e,t){return e!==void 0&&t(e)?e:void 0}function Gs(e,t){return e!==void 0&&t(e)?e:E.fail(`Invalid cast. The supplied value ${e} did not pass the test '${E.getFunctionName(t)}'.`)}function Xa(e){}function Sh(){return!1}function xb(){return!0}function kb(){}function To(e){return e}function iOe(e){return e.toLowerCase()}var Wge=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function Sy(e){return Wge.test(e)?e.replace(Wge,iOe):e}function $s(){throw new Error("Not implemented")}function Yu(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function um(e){const t=new Map;return n=>{const i=`${typeof n}:${n}`;let s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}var xQ=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(xQ||{});function Ty(e,t){return e===t}function xy(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Cb(e,t){return Ty(e,t)}function Uge(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function xo(e,t){return Uge(e,t)}function o7(e,t){return xo(e?.start,t?.start)||xo(e?.length,t?.length)}function KR(e,t,n){for(let i=0;i<e.length;i++)t=Math.max(t,n(e[i]));return t}function ej(e,t){return Qu(e,(n,i)=>t(n,i)===-1?n:i)}function ZP(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function kQ(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function vu(e,t){return Uge(e,t)}function DC(e){return e?ZP:vu}var sOe=(()=>{return t;function e(n,i,s){if(n===i)return 0;if(n===void 0)return-1;if(i===void 0)return 1;const o=s(n,i);return o<0?-1:o>0?1:0}function t(n){const i=new Intl.Collator(n,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(s,o)=>e(s,o,i)}})(),tj,rj;function CQ(){return rj}function EQ(e){rj!==e&&(rj=e,tj=void 0)}function KP(e,t){return tj??(tj=sOe(rj)),tj(e,t)}function DQ(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function V1(e,t){return xo(e?1:0,t?1:0)}function Eb(e,t,n){const i=Math.max(2,Math.floor(e.length*.34));let s=Math.floor(e.length*.4)+1,o;for(const c of t){const _=n(c);if(_!==void 0&&Math.abs(_.length-e.length)<=i){if(_===e||_.length<3&&_.toLowerCase()!==e.toLowerCase())continue;const u=aOe(e,_,s-.1);if(u===void 0)continue;E.assert(u<s),s=u,o=c}}return o}function aOe(e,t,n){let i=new Array(t.length+1),s=new Array(t.length+1);const o=n+.01;for(let _=0;_<=t.length;_++)i[_]=_;for(let _=1;_<=e.length;_++){const u=e.charCodeAt(_-1),g=Math.ceil(_>n?_-n:1),m=Math.floor(t.length>n+_?n+_:t.length);s[0]=_;let h=_;for(let T=1;T<g;T++)s[T]=o;for(let T=g;T<=m;T++){const k=e[_-1].toLowerCase()===t[T-1].toLowerCase()?i[T-1]+.1:i[T-1]+2,D=u===t.charCodeAt(T-1)?i[T-1]:Math.min(i[T]+1,s[T-1]+1,k);s[T]=D,h=Math.min(h,D)}for(let T=m+1;T<=t.length;T++)s[T]=o;if(h>n)return;const S=i;i=s,s=S}const c=i[t.length];return c>n?void 0:c}function Oo(e,t,n){const i=e.length-t.length;return i>=0&&(n?xy(e.slice(i),t):e.indexOf(t,i)===i)}function wC(e,t){return Oo(e,t)?e.slice(0,e.length-t.length):e}function wQ(e,t){return Oo(e,t)?e.slice(0,e.length-t.length):void 0}function nj(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function _D(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return ky(e,n),!0;return!1}function ky(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function Vge(e,t){e[t]=e[e.length-1],e.pop()}function nx(e,t){return oOe(e,n=>n===t)}function oOe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return Vge(e,n),!0;return!1}function au(e){return e?To:Sy}function PQ({prefix:e,suffix:t}){return`${e}*${t}`}function NQ(e,t){return E.assert(c7(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function ij(e,t,n){let i,s=-1;for(let o=0;o<e.length;o++){const c=e[o],_=t(c);_.prefix.length>s&&c7(_,n)&&(s=_.prefix.length,i=c)}return i}function Hi(e,t,n){return n?xy(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function fD(e,t){return Hi(e,t)?e.substr(t.length):e}function sj(e,t,n=To){return Hi(n(e),n(t))?e.substring(t.length):void 0}function c7({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Hi(n,e)&&Oo(n,t)}function l7(e,t){return n=>e(n)&&t(n)}function sf(...e){return(...t)=>{let n;for(const i of e)if(n=i(...t),n)return n;return n}}function u7(e){return(...t)=>!e(...t)}function qge(e){}function ix(e){return e===void 0?void 0:[e]}function _7(e,t,n,i,s,o){o??(o=Xa);let c=0,_=0;const u=e.length,g=t.length;let m=!1;for(;c<u&&_<g;){const h=e[c],S=t[_],T=n(h,S);T===-1?(i(h),c++,m=!0):T===1?(s(S),_++,m=!0):(o(S,h),c++,_++)}for(;c<u;)i(e[c++]),m=!0;for(;_<g;)s(t[_++]),m=!0;return m}function AQ(e){const t=[];return Hge(e,t,void 0,0),t}function Hge(e,t,n,i){for(const s of e[i]){let o;n?(o=n.slice(),o.push(s)):o=[s],i===e.length-1?t.push(o):Hge(e,t,o,i+1)}}function aj(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;return e.slice(0,i)}}function IQ(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;return e.slice(i)}}function oj(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof Age<"u"}var FQ=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(FQ||{}),E;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(Je){return e.currentLogLevel<=Je}e.shouldLog=n;function i(Je,ft){e.loggingHost&&n(Je)&&e.loggingHost.log(Je,ft)}function s(Je){i(3,Je)}e.log=s,(Je=>{function ft(qn){i(1,qn)}Je.error=ft;function tr(qn){i(2,qn)}Je.warn=tr;function Hr(qn){i(3,qn)}Je.log=Hr;function Wn(qn){i(4,qn)}Je.trace=Wn})(s=e.log||(e.log={}));const o={};function c(){return t}e.getAssertionLevel=c;function _(Je){const ft=t;if(t=Je,Je>ft)for(const tr of lm(o)){const Hr=o[tr];Hr!==void 0&&e[tr]!==Hr.assertion&&Je>=Hr.level&&(e[tr]=Hr,o[tr]=void 0)}}e.setAssertionLevel=_;function u(Je){return t>=Je}e.shouldAssert=u;function g(Je,ft){return u(Je)?!0:(o[ft]={level:Je,assertion:e[ft]},e[ft]=Xa,!1)}function m(Je,ft){debugger;const tr=new Error(Je?`Debug Failure. ${Je}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(tr,ft||m),tr}e.fail=m;function h(Je,ft,tr){return m(`${ft||"Unexpected node."}\r
1
+ (function(){"use strict";var uFe={};function qP(){return qP=Object.assign?Object.assign.bind():function(Or){for(var Bn=1;Bn<arguments.length;Bn++){var xi=arguments[Bn];for(var zs in xi)Object.prototype.hasOwnProperty.call(xi,zs)&&(Or[zs]=xi[zs])}return Or},qP.apply(this,arguments)}var Cge=!1;try{Cge=typeof localStorage<"u"}catch{}var _Fe=typeof process<"u",fFe=Cge&&typeof localStorage.getItem=="function"&&localStorage.getItem("DEBUG")||_Fe&&uFe.DEBUG,Ege=fFe?console.log:function(Or){return""};function pFe(Or,Bn,xi,zs,$a){zs===void 0&&(zs={});var xs=qP({},Dge(xi),zs),xc=hFe(Or,Bn,xs,xi,$a),_o=xc.languageServiceHost,Yc=xc.updateFile,co=xc.deleteFile,kc=xi.createLanguageService(_o),Ue=kc.getCompilerOptionsDiagnostics();if(Ue.length){var Rl=Pge(Or,zs,xi);throw new Error(xi.formatDiagnostics(Ue,Rl.compilerHost))}return{name:"vfs",sys:Or,languageService:kc,getSourceFile:function(Qt){var Tl;return(Tl=kc.getProgram())==null?void 0:Tl.getSourceFile(Qt)},createFile:function(Qt,Tl){Yc(xi.createSourceFile(Qt,Tl,xs.target,!1))},updateFile:function(Qt,Tl,Ka){var Q2=kc.getProgram().getSourceFile(Qt);if(!Q2)throw new Error("Did not find a source file for "+Qt);var aD=Q2.text,ZT=Ka??xi.createTextSpan(0,aD.length),GP=aD.slice(0,ZT.start)+Tl+aD.slice(ZT.start+ZT.length),Pi=xi.updateSourceFile(Q2,GP,{span:ZT,newLength:Tl.length});Yc(Pi)},deleteFile:function(Qt){var Tl=kc.getProgram().getSourceFile(Qt);Tl&&co(Tl)}}}var dFe=function(Bn,xi){var zs=Bn.target||xi.ScriptTarget.ES5,$a=Bn.lib||[],xs=["lib.d.ts","lib.core.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.dom.asynciterable.d.ts","lib.dom.d.ts","lib.dom.iterable.d.ts","lib.webworker.asynciterable.d.ts","lib.webworker.d.ts","lib.webworker.importscripts.d.ts","lib.webworker.iterable.d.ts","lib.scripthost.d.ts","lib.es5.d.ts","lib.es6.d.ts","lib.es7.d.ts","lib.core.es6.d.ts","lib.core.es7.d.ts","lib.es2015.collection.d.ts","lib.es2015.core.d.ts","lib.es2015.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.d.ts","lib.es2016.full.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.d.ts","lib.es2017.date.d.ts","lib.es2017.full.d.ts","lib.es2017.intl.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.d.ts","lib.es2018.full.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.d.ts","lib.es2019.full.d.ts","lib.es2019.intl.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2020.bigint.d.ts","lib.es2020.d.ts","lib.es2020.date.d.ts","lib.es2020.full.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2021.d.ts","lib.es2021.full.d.ts","lib.es2021.intl.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2022.array.d.ts","lib.es2022.d.ts","lib.es2022.error.d.ts","lib.es2022.full.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.regexp.d.ts","lib.es2022.sharedmemory.d.ts","lib.es2022.string.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.d.ts","lib.es2023.full.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.d.ts","lib.es2024.full.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.esnext.array.d.ts","lib.esnext.asynciterable.d.ts","lib.esnext.bigint.d.ts","lib.esnext.collection.d.ts","lib.esnext.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.float16.d.ts","lib.esnext.full.d.ts","lib.esnext.intl.d.ts","lib.esnext.iterator.d.ts","lib.esnext.object.d.ts","lib.esnext.promise.d.ts","lib.esnext.regexp.d.ts","lib.esnext.string.d.ts","lib.esnext.symbol.d.ts","lib.esnext.weakref.d.ts"],xc=xi.ScriptTarget[zs],_o=xs.filter(function(yr){return yr.startsWith("lib."+xc.toLowerCase())}),Yc=xs.indexOf(_o.pop()),co=function(Qt){return Qt&&Qt.length?Qt.reduce(function(Tl,Ka){return Ka>Tl?Ka:Tl}):void 0},kc=$a.map(function(yr){var Qt=xs.filter(function(Ka){return Ka.startsWith("lib."+yr.toLowerCase())});if(Qt.length===0)return 0;var Tl=xs.indexOf(Qt.pop());return Tl}),Ue=co(kc)||0,Rl=Math.max(Yc,Ue);return xs.slice(0,Rl+1)},mFe=function(Bn,xi,zs,$a,xs,xc,_o){var Yc=fetch,co=new Map,kc=dFe(Bn,$a),Ue="https://playgroundcdn.typescriptlang.org/cdn/"+xi+"/typescript/lib/";function Rl(){return Promise.all(kc.map(function(Qt){return Yc(Ue+Qt).then(function(Tl){return Tl.text()})})).then(function(Qt){Qt.forEach(function(Tl,Ka){return co.set("/"+kc[Ka],Tl)})}).catch(function(){})}var yr=Rl;return yr().then(function(){return co})};function AR(Or){throw new Error("Method '"+Or+"' is not implemented.")}function IR(Or,Bn){return function(){for(var xi=arguments.length,zs=new Array(xi),$a=0;$a<xi;$a++)zs[$a]=arguments[$a];var xs=Bn.apply(void 0,zs),xc=typeof xs=="string"?xs.slice(0,80)+"...":xs;return Ege.apply(void 0,["> "+Or].concat(zs)),Ege("< "+xc),xs}}var Dge=function(Bn){return qP({},Bn.getDefaultCompilerOptions(),{jsx:Bn.JsxEmit.React,strict:!0,esModuleInterop:!0,module:Bn.ModuleKind.ESNext,suppressOutputPathCheck:!0,skipLibCheck:!0,skipDefaultLibCheck:!0,moduleResolution:Bn.ModuleResolutionKind.NodeJs})},wge=function(Bn){return Bn.replace("/","/lib.").toLowerCase()};function gFe(Or){return{args:[],createDirectory:function(){return AR("createDirectory")},directoryExists:IR("directoryExists",function(Bn){return Array.from(Or.keys()).some(function(xi){return xi.startsWith(Bn)})}),exit:function(){return AR("exit")},fileExists:IR("fileExists",function(Bn){return Or.has(Bn)||Or.has(wge(Bn))}),getCurrentDirectory:function(){return"/"},getDirectories:function(){return[]},getExecutingFilePath:function(){return AR("getExecutingFilePath")},readDirectory:IR("readDirectory",function(Bn){return Bn==="/"?Array.from(Or.keys()):[]}),readFile:IR("readFile",function(Bn){var xi;return(xi=Or.get(Bn))!=null?xi:Or.get(wge(Bn))}),resolvePath:function(xi){return xi},newLine:`
2
+ `,useCaseSensitiveFileNames:!0,write:function(){return AR("write")},writeFile:function(xi,zs){Or.set(xi,zs)},deleteFile:function(xi){Or.delete(xi)}}}function Pge(Or,Bn,xi){var zs=new Map,$a=function(_o){return zs.set(_o.fileName,_o),_o},xs={compilerHost:qP({},Or,{getCanonicalFileName:function(_o){return _o},getDefaultLibFileName:function(){return"/"+xi.getDefaultLibFileName(Bn)},getNewLine:function(){return Or.newLine},getSourceFile:function(_o,Yc){var co;return zs.get(_o)||$a(xi.createSourceFile(_o,Or.readFile(_o),(co=Yc??Bn.target)!=null?co:Dge(xi).target,!1))},useCaseSensitiveFileNames:function(){return Or.useCaseSensitiveFileNames}}),updateFile:function(_o){var Yc=zs.has(_o.fileName);return Or.writeFile(_o.fileName,_o.text),zs.set(_o.fileName,_o),Yc},deleteFile:function(_o){var Yc=zs.has(_o.fileName);return zs.delete(_o.fileName),Or.deleteFile(_o.fileName),Yc}};return xs}function hFe(Or,Bn,xi,zs,$a){var xs=[].concat(Bn),xc=Pge(Or,xi,zs),_o=xc.compilerHost,Yc=xc.updateFile,co=xc.deleteFile,kc=new Map,Ue=0,Rl=qP({},_o,{getProjectVersion:function(){return Ue.toString()},getCompilationSettings:function(){return xi},getCustomTransformers:function(){return $a},getScriptFileNames:function(){return xs.slice()},getScriptSnapshot:function(Tl){var Ka=Or.readFile(Tl);if(Ka&&typeof Ka=="string")return zs.ScriptSnapshot.fromString(Ka)},getScriptVersion:function(Tl){return kc.get(Tl)||"0"},writeFile:Or.writeFile}),yr={languageServiceHost:Rl,updateFile:function(Tl){Ue++,kc.set(Tl.fileName,Ue.toString()),xs.includes(Tl.fileName)||xs.push(Tl.fileName),Yc(Tl)},deleteFile:function(Tl){Ue++,kc.set(Tl.fileName,Ue.toString());var Ka=xs.indexOf(Tl.fileName);Ka!==-1&&xs.splice(Ka,1),co(Tl)}};return yr}var Nge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yFe(Or){return Or&&Or.__esModule&&Object.prototype.hasOwnProperty.call(Or,"default")?Or.default:Or}function vFe(Or){if(Object.prototype.hasOwnProperty.call(Or,"__esModule"))return Or;var Bn=Or.default;if(typeof Bn=="function"){var xi=function zs(){var $a=!1;try{$a=this instanceof zs}catch{}return $a?Reflect.construct(Bn,arguments,this.constructor):Bn.apply(this,arguments)};xi.prototype=Bn.prototype}else xi={};return Object.defineProperty(xi,"__esModule",{value:!0}),Object.keys(Or).forEach(function(zs){var $a=Object.getOwnPropertyDescriptor(Or,zs);Object.defineProperty(xi,zs,$a.get?$a:{enumerable:!0,get:function(){return Or[zs]}})}),xi}function Age(Or){throw new Error('Could not dynamically require "'+Or+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lQ={exports:{}},bFe={},SFe=Object.freeze({__proto__:null,default:bFe}),xC=vFe(SFe),Ige;function TFe(){return Ige||(Ige=1,function(Or){var Bn={};var xi={};(zs=>{var $a=Object.defineProperty,xs=(e,t)=>{for(var n in t)$a(e,n,{get:t[n],enumerable:!0})},xc=e=>e,_o={};xs(_o,{ANONYMOUS:()=>bq,AccessFlags:()=>pY,AssertionLevel:()=>xQ,AssignmentDeclarationKind:()=>TY,AssignmentKind:()=>$K,Associativity:()=>ree,BreakpointResolver:()=>yH,BuilderFileEmit:()=>Yie,BuilderProgramKind:()=>sse,BuilderState:()=>Ud,CallHierarchy:()=>xk,CharacterCodes:()=>FY,CheckFlags:()=>lY,CheckMode:()=>UW,ClassificationType:()=>AV,ClassificationTypeNames:()=>oae,CommentDirectiveType:()=>$Q,Comparison:()=>kc,CompletionInfoFlags:()=>eae,CompletionTriggerKind:()=>PV,Completions:()=>wk,ContainerFlags:()=>Ane,ContextFlags:()=>tY,Debug:()=>E,DiagnosticCategory:()=>d7,Diagnostics:()=>p,DocumentHighlights:()=>lL,ElementFlags:()=>fY,EmitFlags:()=>Ej,EmitHint:()=>RY,EmitOnly:()=>QQ,EndOfLineState:()=>nae,ExitStatus:()=>YQ,ExportKind:()=>Yae,Extension:()=>OY,ExternalEmitHelpers:()=>MY,FileIncludeKind:()=>gj,FilePreprocessingDiagnosticsKind:()=>XQ,FileSystemEntryKind:()=>HY,FileWatcherEventKind:()=>UY,FindAllReferences:()=>No,FlattenLevel:()=>Kne,FlowFlags:()=>p7,ForegroundColorEscapeSequences:()=>zie,FunctionFlags:()=>eee,GeneratedIdentifierFlags:()=>mj,GetLiteralTextFlags:()=>_K,GoToDefinition:()=>pE,HighlightSpanKind:()=>Zse,IdentifierNameMap:()=>U6,ImportKind:()=>Qae,ImportsNotUsedAsValues:()=>wY,IndentStyle:()=>Kse,IndexFlags:()=>dY,IndexKind:()=>hY,InferenceFlags:()=>bY,InferencePriority:()=>vY,InlayHintKind:()=>Yse,InlayHints:()=>lG,InternalEmitFlags:()=>LY,InternalNodeBuilderFlags:()=>nY,InternalSymbolName:()=>uY,IntersectionFlags:()=>eY,InvalidatedProjectKind:()=>wse,JSDocParsingMode:()=>WY,JsDoc:()=>Iv,JsTyping:()=>o1,JsxEmit:()=>DY,JsxFlags:()=>VQ,JsxReferenceKind:()=>mY,LanguageFeatureMinimumTarget:()=>Fl,LanguageServiceMode:()=>Xse,LanguageVariant:()=>AY,LexicalEnvironmentFlags:()=>BY,ListFormat:()=>JY,LogLevel:()=>FQ,MapCode:()=>uG,MemberOverrideStatus:()=>ZQ,ModifierFlags:()=>pj,ModuleDetectionKind:()=>xY,ModuleInstanceState:()=>Pne,ModuleKind:()=>NC,ModuleResolutionKind:()=>PC,ModuleSpecifierEnding:()=>Zee,NavigateTo:()=>Soe,NavigationBar:()=>xoe,NewLineKind:()=>PY,NodeBuilderFlags:()=>rY,NodeCheckFlags:()=>vj,NodeFactoryFlags:()=>Pte,NodeFlags:()=>fj,NodeResolutionFeatures:()=>vne,ObjectFlags:()=>Sj,OperationCanceledException:()=>yD,OperatorPrecedence:()=>nee,OrganizeImports:()=>Fv,OrganizeImportsMode:()=>wV,OuterExpressionKinds:()=>jY,OutliningElementsCollector:()=>fG,OutliningSpanKind:()=>tae,OutputFileType:()=>rae,PackageJsonAutoImportPreference:()=>$se,PackageJsonDependencyGroup:()=>Gse,PatternMatchKind:()=>Bq,PollingInterval:()=>Dj,PollingWatchKind:()=>EY,PragmaKindFlags:()=>zY,PredicateSemantics:()=>qQ,PreparePasteEdits:()=>DG,PrivateIdentifierKind:()=>Bte,ProcessLevel:()=>nie,ProgramUpdateLevel:()=>Mie,QuotePreference:()=>Pae,RegularExpressionFlags:()=>HQ,RelationComparisonResult:()=>dj,Rename:()=>HL,ScriptElementKind:()=>sae,ScriptElementKindModifier:()=>aae,ScriptKind:()=>xj,ScriptSnapshot:()=>S9,ScriptTarget:()=>NY,SemanticClassificationFormat:()=>Qse,SemanticMeaning:()=>cae,SemicolonPreference:()=>NV,SignatureCheckMode:()=>VW,SignatureFlags:()=>Tj,SignatureHelp:()=>j8,SignatureInfo:()=>Qie,SignatureKind:()=>gY,SmartSelectionRange:()=>mG,SnippetKind:()=>Cj,StatisticType:()=>Rse,StructureIsReused:()=>hj,SymbolAccessibility:()=>aY,SymbolDisplay:()=>J0,SymbolDisplayPartKind:()=>x9,SymbolFlags:()=>yj,SymbolFormatFlags:()=>sY,SyntaxKind:()=>_j,Ternary:()=>SY,ThrottledCancellationToken:()=>Ace,TokenClass:()=>iae,TokenFlags:()=>GQ,TransformFlags:()=>kj,TypeFacts:()=>WW,TypeFlags:()=>bj,TypeFormatFlags:()=>iY,TypeMapKind:()=>yY,TypePredicateKind:()=>oY,TypeReferenceSerializationKind:()=>cY,UnionReduction:()=>KQ,UpToDateStatusType:()=>Sse,VarianceFlags:()=>_Y,Version:()=>Nd,VersionRange:()=>f7,WatchDirectoryFlags:()=>IY,WatchDirectoryKind:()=>CY,WatchFileKind:()=>kY,WatchLogLevel:()=>jie,WatchType:()=>zl,accessPrivateIdentifier:()=>Zne,addEmitFlags:()=>xm,addEmitHelper:()=>Vx,addEmitHelpers:()=>$g,addInternalEmitFlags:()=>CS,addNodeFactoryPatcher:()=>A0e,addObjectAllocatorPatcher:()=>m0e,addRange:()=>Fn,addRelatedInfo:()=>qs,addSyntheticLeadingComment:()=>Xy,addSyntheticTrailingComment:()=>O4,addToSeen:()=>Gp,advancedAsyncSuperHelper:()=>AF,affectsDeclarationPathOptionDeclarations:()=>Vre,affectsEmitOptionDeclarations:()=>Ure,allKeysStartWithDot:()=>CO,altDirectorySeparator:()=>y7,and:()=>l7,append:()=>Dr,appendIfUnique:()=>bh,arrayFrom:()=>as,arrayIsEqualTo:()=>Nf,arrayIsHomogeneous:()=>ate,arrayOf:()=>vQ,arrayReverseIterator:()=>VR,arrayToMap:()=>CC,arrayToMultiMap:()=>QP,arrayToNumericMap:()=>SQ,assertType:()=>qge,assign:()=>Y2,asyncSuperHelper:()=>NF,attachFileToDiagnostics:()=>Lx,base64decode:()=>kee,base64encode:()=>xee,binarySearch:()=>vy,binarySearchKey:()=>ex,bindSourceFile:()=>Ine,breakIntoCharacterSpans:()=>poe,breakIntoWordSpans:()=>doe,buildLinkParts:()=>Rae,buildOpts:()=>fA,buildOverload:()=>hPe,bundlerModuleNameResolver:()=>bne,canBeConvertedToAsync:()=>qq,canHaveDecorators:()=>s2,canHaveExportModifier:()=>MN,canHaveFlowNode:()=>e6,canHaveIllegalDecorators:()=>Zz,canHaveIllegalModifiers:()=>kre,canHaveIllegalType:()=>nye,canHaveIllegalTypeParameters:()=>xre,canHaveJSDoc:()=>nN,canHaveLocals:()=>Zm,canHaveModifiers:()=>Yp,canHaveModuleSpecifier:()=>qK,canHaveSymbol:()=>Fd,canIncludeBindAndCheckDiagnostics:()=>k4,canJsonReportNoInputFiles:()=>yA,canProduceDiagnostics:()=>DA,canUsePropertyAccess:()=>rz,canWatchAffectingLocation:()=>pse,canWatchAtTypes:()=>fse,canWatchDirectoryOrFile:()=>qU,canWatchDirectoryOrFilePath:()=>WA,cartesianProduct:()=>AQ,cast:()=>Gs,chainBundle:()=>Wd,chainDiagnosticMessages:()=>Cs,changeAnyExtension:()=>n3,changeCompilerHostLikeToUseCache:()=>gw,changeExtension:()=>D0,changeFullExtension:()=>S7,changesAffectModuleResolution:()=>$7,changesAffectingProgramStructure:()=>nK,characterCodeToRegularExpressionFlag:()=>jj,childIsDecorated:()=>HD,classElementOrClassElementParameterIsDecorated:()=>RB,classHasClassThisAssignment:()=>sU,classHasDeclaredOrExplicitlyAssignedName:()=>aU,classHasExplicitlyAssignedName:()=>BO,classOrConstructorParameterIsDecorated:()=>T0,classicNameResolver:()=>Dne,classifier:()=>Lce,cleanExtendedConfigCache:()=>qO,clear:()=>jp,clearMap:()=>G_,clearSharedExtendedConfigFileWatcher:()=>bU,climbPastPropertyAccess:()=>E9,clone:()=>TQ,cloneCompilerOptions:()=>QV,closeFileWatcher:()=>dd,closeFileWatcherOf:()=>xp,codefix:()=>Wu,collapseTextChangeRangesAcrossMultipleVersions:()=>mZ,collectExternalModuleInfo:()=>tU,combine:()=>KT,combinePaths:()=>Ln,commandLineOptionOfCustomType:()=>Gre,commentPragmas:()=>m7,commonOptionsWithBuild:()=>iO,compact:()=>$P,compareBooleans:()=>V1,compareDataObjects:()=>NJ,compareDiagnostics:()=>h4,compareEmitHelpers:()=>zte,compareNumberOfDirectorySeparators:()=>IN,comparePaths:()=>Th,comparePathsCaseInsensitive:()=>mhe,comparePathsCaseSensitive:()=>dhe,comparePatternKeys:()=>LW,compareProperties:()=>DQ,compareStringsCaseInsensitive:()=>ZP,compareStringsCaseInsensitiveEslintCompatible:()=>kQ,compareStringsCaseSensitive:()=>vu,compareStringsCaseSensitiveUI:()=>KP,compareTextSpans:()=>o7,compareValues:()=>xo,compilerOptionsAffectDeclarationPath:()=>Hee,compilerOptionsAffectEmit:()=>qee,compilerOptionsAffectSemanticDiagnostics:()=>Vee,compilerOptionsDidYouMeanDiagnostics:()=>cO,compilerOptionsIndicateEsModules:()=>rq,computeCommonSourceDirectoryOfFilenames:()=>Bie,computeLineAndCharacterOfPosition:()=>FC,computeLineOfPosition:()=>xD,computeLineStarts:()=>lx,computePositionOfLineAndCharacter:()=>C7,computeSignatureWithDiagnostics:()=>BU,computeSuggestionDiagnostics:()=>Wq,computedOptions:()=>y4,concatenate:()=>Wi,concatenateDiagnosticMessageChains:()=>Ree,consumesNodeCoreModules:()=>eL,contains:()=>hs,containsIgnoredPath:()=>D4,containsObjectRestOrSpread:()=>cA,containsParseError:()=>yx,containsPath:()=>up,convertCompilerOptionsForTelemetry:()=>cne,convertCompilerOptionsFromJson:()=>f1e,convertJsonOption:()=>JS,convertToBase64:()=>Tee,convertToJson:()=>mA,convertToObject:()=>rne,convertToOptionsWithAbsolutePaths:()=>fO,convertToRelativePath:()=>SD,convertToTSConfig:()=>yW,convertTypeAcquisitionFromJson:()=>p1e,copyComments:()=>XS,copyEntries:()=>X7,copyLeadingComments:()=>sE,copyProperties:()=>YR,copyTrailingAsLeadingComments:()=>l8,copyTrailingComments:()=>Iw,couldStartTrivia:()=>tZ,countWhere:()=>m0,createAbstractBuilder:()=>vbe,createAccessorPropertyBackingField:()=>tW,createAccessorPropertyGetRedirector:()=>Ire,createAccessorPropertySetRedirector:()=>Fre,createBaseNodeFactory:()=>kte,createBinaryExpressionTrampoline:()=>KF,createBuilderProgram:()=>JU,createBuilderProgramUsingIncrementalBuildInfo:()=>lse,createBuilderStatusReporter:()=>p9,createCacheableExportInfoMap:()=>Aq,createCachedDirectoryStructureHost:()=>UO,createClassifier:()=>X2e,createCommentDirectivesMap:()=>lK,createCompilerDiagnostic:()=>nc,createCompilerDiagnosticForInvalidCustomType:()=>$re,createCompilerDiagnosticFromMessageChain:()=>Z5,createCompilerHost:()=>Jie,createCompilerHostFromProgramHost:()=>aV,createCompilerHostWorker:()=>HO,createDetachedDiagnostic:()=>Ox,createDiagnosticCollection:()=>o4,createDiagnosticForFileFromMessageChain:()=>IB,createDiagnosticForNode:()=>an,createDiagnosticForNodeArray:()=>HC,createDiagnosticForNodeArrayFromMessageChain:()=>L3,createDiagnosticForNodeFromMessageChain:()=>Bg,createDiagnosticForNodeInSourceFile:()=>fp,createDiagnosticForRange:()=>xK,createDiagnosticMessageChainFromDiagnostic:()=>TK,createDiagnosticReporter:()=>mk,createDocumentPositionMapper:()=>Gne,createDocumentRegistry:()=>roe,createDocumentRegistryInternal:()=>Mq,createEmitAndSemanticDiagnosticsBuilderProgram:()=>VU,createEmitHelperFactory:()=>Jte,createEmptyExports:()=>eA,createEvaluator:()=>gte,createExpressionForJsxElement:()=>hre,createExpressionForJsxFragment:()=>yre,createExpressionForObjectLiteralElementLike:()=>vre,createExpressionForPropertyName:()=>Hz,createExpressionFromEntityName:()=>tA,createExternalHelpersImportDeclarationIfNeeded:()=>Xz,createFileDiagnostic:()=>gl,createFileDiagnosticFromMessageChain:()=>s5,createFlowNode:()=>cg,createForOfBindingStatement:()=>qz,createFutureSourceFile:()=>aL,createGetCanonicalFileName:()=>au,createGetIsolatedDeclarationErrors:()=>Eie,createGetSourceFile:()=>CU,createGetSymbolAccessibilityDiagnosticForNode:()=>Tv,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Cie,createGetSymbolWalker:()=>Fne,createIncrementalCompilerHost:()=>f9,createIncrementalProgram:()=>bse,createJsxFactoryExpression:()=>Vz,createLanguageService:()=>Ice,createLanguageServiceSourceFile:()=>CL,createMemberAccessForPropertyName:()=>jS,createModeAwareCache:()=>j6,createModeAwareCacheKey:()=>tw,createModeMismatchDetails:()=>gB,createModuleNotFoundChain:()=>Y7,createModuleResolutionCache:()=>B6,createModuleResolutionLoader:()=>AU,createModuleResolutionLoaderUsingGlobalCache:()=>hse,createModuleSpecifierResolutionHost:()=>Ev,createMultiMap:()=>Jp,createNameResolver:()=>oz,createNodeConverters:()=>Dte,createNodeFactory:()=>zN,createOptionNameMap:()=>aO,createOverload:()=>PG,createPackageJsonImportFilter:()=>aE,createPackageJsonInfo:()=>xq,createParenthesizerRules:()=>Cte,createPatternMatcher:()=>ooe,createPrinter:()=>s1,createPrinterWithDefaults:()=>Oie,createPrinterWithRemoveComments:()=>l2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Lie,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>vU,createProgram:()=>BA,createProgramDiagnostics:()=>$ie,createProgramHost:()=>oV,createPropertyNameNodeForIdentifierOrLiteral:()=>LN,createQueue:()=>YP,createRange:()=>mp,createRedirectedBuilderProgram:()=>UU,createResolutionCache:()=>GU,createRuntimeTypeSerializer:()=>cie,createScanner:()=>Fg,createSemanticDiagnosticsBuilderProgram:()=>ybe,createSet:()=>ZR,createSolutionBuilder:()=>Cse,createSolutionBuilderHost:()=>xse,createSolutionBuilderWithWatch:()=>Ese,createSolutionBuilderWithWatchHost:()=>kse,createSortedArray:()=>UR,createSourceFile:()=>ak,createSourceMapGenerator:()=>Wne,createSourceMapSource:()=>L0e,createSuperAccessVariableStatement:()=>zO,createSymbolTable:()=>Us,createSymlinkCache:()=>JJ,createSyntacticTypeNodeBuilder:()=>Vse,createSystemWatchFunctions:()=>GY,createTextChange:()=>r8,createTextChangeFromStartLength:()=>B9,createTextChangeRange:()=>p3,createTextRangeFromNode:()=>KV,createTextRangeFromSpan:()=>j9,createTextSpan:()=>ou,createTextSpanFromBounds:()=>Rc,createTextSpanFromNode:()=>y_,createTextSpanFromRange:()=>R0,createTextSpanFromStringLiteralLikeContent:()=>ZV,createTextWriter:()=>dN,createTokenRange:()=>CJ,createTypeChecker:()=>Jne,createTypeReferenceDirectiveResolutionCache:()=>TO,createTypeReferenceResolutionLoader:()=>XO,createWatchCompilerHost:()=>Pbe,createWatchCompilerHostOfConfigFile:()=>cV,createWatchCompilerHostOfFilesAndCompilerOptions:()=>lV,createWatchFactory:()=>sV,createWatchHost:()=>iV,createWatchProgram:()=>uV,createWatchStatusReporter:()=>$U,createWriteFileMeasuringIO:()=>EU,declarationNameToString:()=>mo,decodeMappings:()=>ZW,decodedTextSpanIntersectsWith:()=>f3,deduplicate:()=>Tb,defaultHoverMaximumTruncationLength:()=>tK,defaultInitCompilerOptions:()=>Iye,defaultMaximumTruncationLength:()=>BD,diagnosticCategoryName:()=>K2,diagnosticToString:()=>d2,diagnosticsEqualityComparer:()=>K5,directoryProbablyExists:()=>Md,directorySeparator:()=>Do,displayPart:()=>Q_,displayPartsToString:()=>T8,disposeEmitNodes:()=>yz,documentSpansEqual:()=>lq,dumpTracingLegend:()=>UQ,elementAt:()=>yy,elideNodes:()=>Are,emitDetachedComments:()=>fee,emitFiles:()=>hU,emitFilesAndReportErrors:()=>c9,emitFilesAndReportErrorsAndGetExitStatus:()=>nV,emitModuleKindIsNonNodeESM:()=>wN,emitNewLineBeforeLeadingCommentOfPosition:()=>_ee,emitResolverSkipsTypeChecking:()=>gU,emitSkippedWithNoDiagnostics:()=>OU,emptyArray:()=>Ue,emptyFileSystemEntries:()=>$J,emptyMap:()=>Rl,emptyOptions:()=>Zp,endsWith:()=>Oo,ensurePathIsNonModuleName:()=>eS,ensureScriptKind:()=>lF,ensureTrailingDirectorySeparator:()=>kl,entityNameToString:()=>lf,enumerateInsertsAndDeletes:()=>_7,equalOwnProperties:()=>bQ,equateStringsCaseInsensitive:()=>xy,equateStringsCaseSensitive:()=>Cb,equateValues:()=>Ty,escapeJsxAttributeString:()=>oJ,escapeLeadingUnderscores:()=>oc,escapeNonAsciiString:()=>I5,escapeSnippetText:()=>Xb,escapeString:()=>ig,escapeTemplateSubstitution:()=>sJ,evaluatorResult:()=>El,every:()=>Pi,exclusivelyPrefixedNodeCoreModules:()=>kF,executeCommandLine:()=>c2e,expandPreOrPostfixIncrementOrDecrementExpression:()=>$F,explainFiles:()=>ZU,explainIfFileIsRedirectAndImpliedFormat:()=>KU,exportAssignmentIsAlias:()=>oN,expressionResultIsUnused:()=>cte,extend:()=>QR,extensionFromPath:()=>T4,extensionIsTS:()=>dF,extensionsNotSupportingExtensionlessResolution:()=>pF,externalHelpersModuleNameText:()=>Ly,factory:()=>N,fileExtensionIs:()=>tc,fileExtensionIsOneOf:()=>Ac,fileIncludeReasonToDiagnostics:()=>rV,fileShouldUseJavaScriptRequire:()=>Nq,filter:()=>Cn,filterMutate:()=>jR,filterSemanticDiagnostics:()=>KO,find:()=>An,findAncestor:()=>dr,findBestPatternMatch:()=>ij,findChildOfKind:()=>to,findComputedPropertyNameCacheAssignment:()=>eO,findConfigFile:()=>xU,findConstructorDeclaration:()=>BN,findContainingList:()=>A9,findDiagnosticForNode:()=>Gae,findFirstNonJsxWhitespaceToken:()=>gae,findIndex:()=>pc,findLast:()=>Sb,findLastIndex:()=>i7,findListItemInfo:()=>mae,findModifier:()=>rE,findNextToken:()=>p2,findPackageJson:()=>Hae,findPackageJsons:()=>Tq,findPrecedingMatchingToken:()=>M9,findPrecedingToken:()=>bl,findSuperStatementIndexPath:()=>LO,findTokenOnLeftOfPosition:()=>Cw,findUseStrictPrologue:()=>$z,first:()=>Pa,firstDefined:()=>Ka,firstDefinedIterator:()=>Q2,firstIterator:()=>HR,firstOrOnly:()=>Eq,firstOrUndefined:()=>il,firstOrUndefinedIterator:()=>a7,fixupCompilerOptions:()=>Hq,flatMap:()=>wa,flatMapIterator:()=>BR,flatMapToMutable:()=>cD,flatten:()=>Bp,flattenCommaList:()=>Ore,flattenDestructuringAssignment:()=>VS,flattenDestructuringBinding:()=>c2,flattenDiagnosticMessageText:()=>Am,forEach:()=>Qt,forEachAncestor:()=>iK,forEachAncestorDirectory:()=>TD,forEachAncestorDirectoryStoppingAtGlobalCache:()=>og,forEachChild:()=>Es,forEachChildRecursively:()=>sk,forEachDynamicImportOrRequireCall:()=>CF,forEachEmittedFile:()=>fU,forEachEnclosingBlockScopeContainer:()=>vK,forEachEntry:()=>Cl,forEachExternalModuleToImportFrom:()=>Fq,forEachImportClauseDeclaration:()=>HK,forEachKey:()=>Rg,forEachLeadingCommentRange:()=>a3,forEachNameInAccessChainWalkingLeft:()=>Iee,forEachNameOfDefaultExport:()=>cL,forEachOptionsSyntaxByName:()=>pz,forEachProjectReference:()=>I4,forEachPropertyAssignment:()=>XC,forEachResolvedProjectReference:()=>_z,forEachReturnStatement:()=>By,forEachRight:()=>Tl,forEachTrailingCommentRange:()=>o3,forEachTsConfigPropArray:()=>J3,forEachUnique:()=>_q,forEachYieldExpression:()=>DK,formatColorAndReset:()=>u2,formatDiagnostic:()=>DU,formatDiagnostics:()=>Hve,formatDiagnosticsWithColorAndContext:()=>Vie,formatGeneratedName:()=>hv,formatGeneratedNamePart:()=>O6,formatLocation:()=>wU,formatMessage:()=>Mx,formatStringFromArgs:()=>Vg,formatting:()=>ul,generateDjb2Hash:()=>vD,generateTSConfig:()=>nne,getAdjustedReferenceLocation:()=>VV,getAdjustedRenameLocation:()=>F9,getAliasDeclarationFromName:()=>XB,getAllAccessorDeclarations:()=>Vb,getAllDecoratorsOfClass:()=>nU,getAllDecoratorsOfClassElement:()=>RO,getAllJSDocTags:()=>I7,getAllJSDocTagsOfKind:()=>jhe,getAllKeys:()=>zge,getAllProjectOutputs:()=>WO,getAllSuperTypeNodes:()=>t4,getAllowImportingTsExtensions:()=>Bee,getAllowJSCompilerOption:()=>Hy,getAllowSyntheticDefaultImports:()=>Rx,getAncestor:()=>rv,getAnyExtensionFromPath:()=>ax,getAreDeclarationMapsEnabled:()=>eF,getAssignedExpandoInitializer:()=>Sx,getAssignedName:()=>P7,getAssignmentDeclarationKind:()=>jc,getAssignmentDeclarationPropertyAccessKind:()=>Z3,getAssignmentTargetKind:()=>Jy,getAutomaticTypeDirectiveNames:()=>bO,getBaseFileName:()=>sl,getBinaryOperatorPrecedence:()=>_N,getBuildInfo:()=>yU,getBuildInfoFileVersionMap:()=>WU,getBuildInfoText:()=>Iie,getBuildOrderFromAnyBuildOrder:()=>VA,getBuilderCreationParameters:()=>n9,getBuilderFileEmit:()=>a1,getCanonicalDiagnostic:()=>kK,getCheckFlags:()=>gc,getClassExtendsHeritageElement:()=>Jb,getClassLikeDeclarationOfSymbol:()=>Ih,getCombinedLocalAndExportSymbolFlags:()=>l6,getCombinedModifierFlags:()=>H1,getCombinedNodeFlags:()=>kh,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Vj,getCommentRange:()=>km,getCommonSourceDirectory:()=>mw,getCommonSourceDirectoryOfConfig:()=>qS,getCompilerOptionValue:()=>nF,getConditions:()=>r1,getConfigFileParsingDiagnostics:()=>_2,getConstantValue:()=>Ite,getContainerFlags:()=>RW,getContainerNode:()=>$S,getContainingClass:()=>Ql,getContainingClassExcludingClassDecorators:()=>p5,getContainingClassStaticBlock:()=>LK,getContainingFunction:()=>Bf,getContainingFunctionDeclaration:()=>OK,getContainingFunctionOrClassStaticBlock:()=>f5,getContainingNodeArray:()=>lte,getContainingObjectLiteralElement:()=>x8,getContextualTypeFromParent:()=>$9,getContextualTypeFromParentOrAncestorTypeNode:()=>I9,getDeclarationDiagnostics:()=>Die,getDeclarationEmitExtensionForPath:()=>L5,getDeclarationEmitOutputFilePath:()=>oee,getDeclarationEmitOutputFilePathWorker:()=>O5,getDeclarationFileExtension:()=>rO,getDeclarationFromName:()=>e4,getDeclarationModifierFlagsFromSymbol:()=>hp,getDeclarationOfKind:()=>Jo,getDeclarationsOfKind:()=>rK,getDeclaredExpandoInitializer:()=>QD,getDecorators:()=>wy,getDefaultCompilerOptions:()=>kL,getDefaultFormatCodeSettings:()=>T9,getDefaultLibFileName:()=>l3,getDefaultLibFilePath:()=>Fce,getDefaultLikeExportInfo:()=>oL,getDefaultLikeExportNameFromDeclaration:()=>Dq,getDefaultResolutionModeForFileWorker:()=>ZO,getDiagnosticText:()=>L_,getDiagnosticsWithinSpan:()=>$ae,getDirectoryPath:()=>$n,getDirectoryToWatchFailedLookupLocation:()=>HU,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>mse,getDocumentPositionMapper:()=>zq,getDocumentSpansEqualityComparer:()=>uq,getESModuleInterop:()=>Tm,getEditsForFileRename:()=>ioe,getEffectiveBaseTypeNode:()=>Ld,getEffectiveConstraintOfTypeParameter:()=>RC,getEffectiveContainerForJSDocTemplateTag:()=>C5,getEffectiveImplementsTypeNodes:()=>r6,getEffectiveInitializer:()=>X3,getEffectiveJSDocHost:()=>tv,getEffectiveModifierFlags:()=>Su,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>gee,getEffectiveModifierFlagsNoCache:()=>hee,getEffectiveReturnTypeNode:()=>ff,getEffectiveSetAccessorTypeAnnotationNode:()=>mJ,getEffectiveTypeAnnotationNode:()=>al,getEffectiveTypeParameterDeclarations:()=>Py,getEffectiveTypeRoots:()=>ew,getElementOrPropertyAccessArgumentExpressionOrName:()=>k5,getElementOrPropertyAccessName:()=>Dh,getElementsOfBindingOrAssignmentPattern:()=>F6,getEmitDeclarations:()=>$_,getEmitFlags:()=>Na,getEmitHelpers:()=>vz,getEmitModuleDetectionKind:()=>Jee,getEmitModuleFormatOfFileWorker:()=>vw,getEmitModuleKind:()=>e_,getEmitModuleResolutionKind:()=>Ru,getEmitScriptTarget:()=>ya,getEmitStandardClassFields:()=>jJ,getEnclosingBlockScopeContainer:()=>Od,getEnclosingContainer:()=>i5,getEncodedSemanticClassifications:()=>Oq,getEncodedSyntacticClassifications:()=>Lq,getEndLinePosition:()=>N3,getEntityNameFromTypeNode:()=>U3,getEntrypointsFromPackageJsonInfo:()=>IW,getErrorCountForSummary:()=>a9,getErrorSpanForNode:()=>_S,getErrorSummaryText:()=>QU,getEscapedTextOfIdentifierOrLiteral:()=>i4,getEscapedTextOfJsxAttributeName:()=>N4,getEscapedTextOfJsxNamespacedName:()=>zx,getExpandoInitializer:()=>K1,getExportAssignmentExpression:()=>QB,getExportInfoMap:()=>m8,getExportNeedsImportStarHelper:()=>$ne,getExpressionAssociativity:()=>nJ,getExpressionPrecedence:()=>a4,getExternalHelpersModuleName:()=>nA,getExternalModuleImportEqualsDeclarationExpression:()=>GD,getExternalModuleName:()=>xx,getExternalModuleNameFromDeclaration:()=>see,getExternalModuleNameFromPath:()=>uJ,getExternalModuleNameLiteral:()=>ik,getExternalModuleRequireArgument:()=>BB,getFallbackOptions:()=>MA,getFileEmitOutput:()=>Xie,getFileMatcherPatterns:()=>cF,getFileNamesFromConfigSpecs:()=>Z4,getFileWatcherEventKind:()=>Nj,getFilesInErrorForSummary:()=>o9,getFirstConstructorWithBody:()=>Wg,getFirstIdentifier:()=>f_,getFirstNonSpaceCharacterPosition:()=>Jae,getFirstProjectOutput:()=>mU,getFixableErrorSpanExpression:()=>kq,getFormatCodeSettingsForWriting:()=>iL,getFullWidth:()=>w3,getFunctionFlags:()=>Wc,getHeritageClause:()=>cN,getHostSignatureFromJSDoc:()=>ev,getIdentifierAutoGenerate:()=>j0e,getIdentifierGeneratedImportReference:()=>jte,getIdentifierTypeArguments:()=>ES,getImmediatelyInvokedFunctionExpression:()=>Y1,getImpliedNodeFormatForEmitWorker:()=>HS,getImpliedNodeFormatForFile:()=>jA,getImpliedNodeFormatForFileWorker:()=>YO,getImportNeedsImportDefaultHelper:()=>eU,getImportNeedsImportStarHelper:()=>FO,getIndentString:()=>F5,getInferredLibraryNameResolveFrom:()=>QO,getInitializedVariables:()=>d4,getInitializerOfBinaryExpression:()=>UB,getInitializerOfBindingOrAssignmentElement:()=>sA,getInterfaceBaseTypeNodes:()=>r4,getInternalEmitFlags:()=>fd,getInvokedExpression:()=>g5,getIsFileExcluded:()=>Kae,getIsolatedModules:()=>$p,getJSDocAugmentsTag:()=>CZ,getJSDocClassTag:()=>Gj,getJSDocCommentRanges:()=>OB,getJSDocCommentsAndTags:()=>VB,getJSDocDeprecatedTag:()=>$j,getJSDocDeprecatedTagNoCache:()=>IZ,getJSDocEnumTag:()=>Xj,getJSDocHost:()=>jb,getJSDocImplementsTags:()=>EZ,getJSDocOverloadTags:()=>HB,getJSDocOverrideTagNoCache:()=>AZ,getJSDocParameterTags:()=>MC,getJSDocParameterTagsNoCache:()=>SZ,getJSDocPrivateTag:()=>Ohe,getJSDocPrivateTagNoCache:()=>wZ,getJSDocProtectedTag:()=>Lhe,getJSDocProtectedTagNoCache:()=>PZ,getJSDocPublicTag:()=>Fhe,getJSDocPublicTagNoCache:()=>DZ,getJSDocReadonlyTag:()=>Mhe,getJSDocReadonlyTagNoCache:()=>NZ,getJSDocReturnTag:()=>FZ,getJSDocReturnType:()=>m3,getJSDocRoot:()=>t6,getJSDocSatisfiesExpressionType:()=>iz,getJSDocSatisfiesTag:()=>Qj,getJSDocTags:()=>$1,getJSDocTemplateTag:()=>Rhe,getJSDocThisTag:()=>N7,getJSDocType:()=>y0,getJSDocTypeAliasName:()=>Yz,getJSDocTypeAssertionType:()=>A6,getJSDocTypeParameterDeclarations:()=>J5,getJSDocTypeParameterTags:()=>TZ,getJSDocTypeParameterTagsNoCache:()=>xZ,getJSDocTypeTag:()=>G1,getJSXImplicitImportBase:()=>PN,getJSXRuntimeImport:()=>sF,getJSXTransformEnabled:()=>iF,getKeyForCompilerOptions:()=>DW,getLanguageVariant:()=>xN,getLastChild:()=>AJ,getLeadingCommentRanges:()=>Ig,getLeadingCommentRangesOfNode:()=>FB,getLeftmostAccessExpression:()=>u6,getLeftmostExpression:()=>_6,getLibFileNameFromLibReference:()=>uz,getLibNameFromLibReference:()=>lz,getLibraryNameFromLibFileName:()=>IU,getLineAndCharacterOfPosition:()=>Ws,getLineInfo:()=>YW,getLineOfLocalPosition:()=>c4,getLineStartPositionForPosition:()=>Kp,getLineStarts:()=>Ng,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Pee,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>wee,getLinesBetweenPositions:()=>kD,getLinesBetweenRangeEndAndRangeStart:()=>EJ,getLinesBetweenRangeEndPositions:()=>p0e,getLiteralText:()=>fK,getLocalNameForExternalImport:()=>I6,getLocalSymbolForExportDefault:()=>f4,getLocaleSpecificMessage:()=>ks,getLocaleTimeString:()=>UA,getMappedContextSpan:()=>fq,getMappedDocumentSpan:()=>q9,getMappedLocation:()=>Pw,getMatchedFileSpec:()=>eV,getMatchedIncludeSpec:()=>tV,getMeaningFromDeclaration:()=>k9,getMeaningFromLocation:()=>GS,getMembersOfDeclaration:()=>wK,getModeForFileReference:()=>qie,getModeForResolutionAtIndex:()=>Zve,getModeForUsageLocation:()=>NU,getModifiedTime:()=>sx,getModifiers:()=>Db,getModuleInstanceState:()=>Rh,getModuleNameStringLiteralAt:()=>JA,getModuleSpecifierEndingPreference:()=>Kee,getModuleSpecifierResolverHost:()=>nq,getNameForExportedSymbol:()=>tL,getNameFromImportAttribute:()=>SF,getNameFromIndexInfo:()=>bK,getNameFromPropertyName:()=>i8,getNameOfAccessExpression:()=>FJ,getNameOfCompilerOptionValue:()=>_O,getNameOfDeclaration:()=>ps,getNameOfExpando:()=>JB,getNameOfJSDocTypedef:()=>bZ,getNameOfScriptTarget:()=>rF,getNameOrArgument:()=>Y3,getNameTable:()=>hH,getNamespaceDeclarationNode:()=>KC,getNewLineCharacter:()=>C0,getNewLineKind:()=>d8,getNewLineOrDefaultFromHost:()=>Bh,getNewTargetContainer:()=>RK,getNextJSDocCommentLocation:()=>qB,getNodeChildren:()=>Wz,getNodeForGeneratedName:()=>oA,getNodeId:()=>Ba,getNodeKind:()=>f2,getNodeModifiers:()=>Ew,getNodeModulePathParts:()=>yF,getNonAssignedNameOfDeclaration:()=>w7,getNonAssignmentOperatorForCompoundAssignment:()=>cw,getNonAugmentationDeclaration:()=>EB,getNonDecoratorTokenPosOfNode:()=>bB,getNonIncrementalBuildInfoRoots:()=>use,getNonModifierTokenPosOfNode:()=>uK,getNormalizedAbsolutePath:()=>Ki,getNormalizedAbsolutePathWithoutRoot:()=>Oj,getNormalizedPathComponents:()=>b7,getObjectFlags:()=>wn,getOperatorAssociativity:()=>iJ,getOperatorPrecedence:()=>uN,getOptionFromName:()=>pW,getOptionsForLibraryResolution:()=>wW,getOptionsNameMap:()=>M6,getOptionsSyntaxByArrayElementValue:()=>fz,getOptionsSyntaxByValue:()=>Ste,getOrCreateEmitNode:()=>xu,getOrUpdate:()=>lD,getOriginalNode:()=>Qo,getOriginalNodeId:()=>h_,getOutputDeclarationFileName:()=>dw,getOutputDeclarationFileNameWorker:()=>pU,getOutputExtension:()=>FA,getOutputFileNames:()=>Vve,getOutputJSFileNameWorker:()=>dU,getOutputPathsFor:()=>pw,getOwnEmitOutputFilePath:()=>aee,getOwnKeys:()=>lm,getOwnValues:()=>tx,getPackageJsonTypesVersionsPaths:()=>vO,getPackageNameFromTypesPackageName:()=>iw,getPackageScopeForPath:()=>nw,getParameterSymbolFromJSDoc:()=>iN,getParentNodeInSpan:()=>a8,getParseTreeNode:()=>Ss,getParsedCommandLineOfConfigFile:()=>pA,getPathComponents:()=>bu,getPathFromPathComponents:()=>q1,getPathUpdater:()=>jq,getPathsBasePath:()=>M5,getPatternFromSpec:()=>UJ,getPendingEmitKindWithSeen:()=>r9,getPositionOfLineAndCharacter:()=>i3,getPossibleGenericSignatures:()=>HV,getPossibleOriginalInputExtensionForExtension:()=>_J,getPossibleOriginalInputPathWithoutChangingExt:()=>fJ,getPossibleTypeArgumentsInfo:()=>GV,getPreEmitDiagnostics:()=>qve,getPrecedingNonSpaceCharacterPosition:()=>H9,getPrivateIdentifier:()=>iU,getProperties:()=>rU,getProperty:()=>XP,getPropertyAssignmentAliasLikeExpression:()=>KK,getPropertyNameForPropertyNameNode:()=>vS,getPropertyNameFromType:()=>vp,getPropertyNameOfBindingOrAssignmentElement:()=>Qz,getPropertySymbolFromBindingElement:()=>V9,getPropertySymbolsFromContextualType:()=>EL,getQuoteFromPreference:()=>sq,getQuotePreference:()=>vf,getRangesWhere:()=>WR,getRefactorContextSpan:()=>vk,getReferencedFileLocation:()=>yw,getRegexFromPattern:()=>E0,getRegularExpressionForWildcard:()=>v4,getRegularExpressionsForWildcards:()=>aF,getRelativePathFromDirectory:()=>jf,getRelativePathFromFile:()=>IC,getRelativePathToDirectoryOrUrl:()=>cx,getRenameLocation:()=>c8,getReplacementSpanForContextToken:()=>YV,getResolutionDiagnostic:()=>MU,getResolutionModeOverride:()=>q6,getResolveJsonModule:()=>Hb,getResolvePackageJsonExports:()=>CN,getResolvePackageJsonImports:()=>EN,getResolvedExternalModuleName:()=>lJ,getResolvedModuleFromResolution:()=>hx,getResolvedTypeReferenceDirectiveFromResolution:()=>Q7,getRestIndicatorOfBindingOrAssignmentElement:()=>YF,getRestParameterElementType:()=>LB,getRightMostAssignedExpression:()=>Q3,getRootDeclaration:()=>ym,getRootDirectoryOfResolutionCache:()=>gse,getRootLength:()=>Ad,getScriptKind:()=>gq,getScriptKindFromFileName:()=>uF,getScriptTargetFeatures:()=>SB,getSelectedEffectiveModifierFlags:()=>Px,getSelectedSyntacticModifierFlags:()=>dee,getSemanticClassifications:()=>eoe,getSemanticJsxChildren:()=>i6,getSetAccessorTypeAnnotationNode:()=>lee,getSetAccessorValueParameter:()=>l4,getSetExternalModuleIndicator:()=>kN,getShebang:()=>E7,getSingleVariableOfVariableStatement:()=>Ex,getSnapshotText:()=>yk,getSnippetElement:()=>bz,getSourceFileOfModule:()=>P3,getSourceFileOfNode:()=>kr,getSourceFilePathInNewDir:()=>j5,getSourceFileVersionAsHashFromText:()=>l9,getSourceFilesToEmit:()=>R5,getSourceMapRange:()=>P0,getSourceMapper:()=>goe,getSourceTextOfNodeFromSourceFile:()=>Ib,getSpanOfTokenAtPosition:()=>dm,getSpellingSuggestion:()=>Eb,getStartPositionOfLine:()=>My,getStartPositionOfRange:()=>p4,getStartsOnNewLine:()=>F4,getStaticPropertiesAndClassStaticBlock:()=>MO,getStrictOptionValue:()=>Tu,getStringComparer:()=>DC,getSubPatternFromSpec:()=>oF,getSuperCallFromStatement:()=>OO,getSuperContainer:()=>z3,getSupportedCodeFixes:()=>mH,getSupportedExtensions:()=>b4,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>AN,getSwitchedType:()=>vq,getSymbolId:()=>Ks,getSymbolNameForPrivateIdentifier:()=>lN,getSymbolTarget:()=>hq,getSyntacticClassifications:()=>toe,getSyntacticModifierFlags:()=>x0,getSyntacticModifierFlagsNoCache:()=>yJ,getSynthesizedDeepClone:()=>Ga,getSynthesizedDeepCloneWithReplacements:()=>JN,getSynthesizedDeepClones:()=>Qb,getSynthesizedDeepClonesWithReplacements:()=>dz,getSyntheticLeadingComments:()=>h6,getSyntheticTrailingComments:()=>qN,getTargetLabel:()=>D9,getTargetOfBindingOrAssignmentElement:()=>e1,getTemporaryModuleResolutionState:()=>rw,getTextOfConstantValue:()=>pK,getTextOfIdentifierOrLiteral:()=>dp,getTextOfJSDocComment:()=>g3,getTextOfJsxAttributeName:()=>jN,getTextOfJsxNamespacedName:()=>A4,getTextOfNode:()=>rc,getTextOfNodeFromSourceText:()=>zD,getTextOfPropertyName:()=>bx,getThisContainer:()=>Ku,getThisParameter:()=>Wb,getTokenAtPosition:()=>Si,getTokenPosOfNode:()=>Ry,getTokenSourceMapRange:()=>M0e,getTouchingPropertyName:()=>M_,getTouchingToken:()=>eE,getTrailingCommentRanges:()=>Dy,getTrailingSemicolonDeferringWriter:()=>cJ,getTransformers:()=>Pie,getTsBuildInfoEmitOutputFilePath:()=>xv,getTsConfigObjectLiteralExpression:()=>qD,getTsConfigPropArrayElementValue:()=>_5,getTypeAnnotationNode:()=>uee,getTypeArgumentOrTypeParameterList:()=>xae,getTypeKeywordOfTypeOnlyImport:()=>cq,getTypeNode:()=>Mte,getTypeNodeIfAccessible:()=>Ow,getTypeParameterFromJsDoc:()=>GK,getTypeParameterOwner:()=>Phe,getTypesPackageName:()=>EO,getUILocale:()=>CQ,getUniqueName:()=>QS,getUniqueSymbolId:()=>Bae,getUseDefineForClassFields:()=>DN,getWatchErrorSummaryDiagnosticMessage:()=>XU,getWatchFactory:()=>TU,group:()=>EC,groupBy:()=>XR,guessIndentation:()=>KZ,handleNoEmitOptions:()=>LU,handleWatchOptionsConfigDirTemplateSubstitution:()=>pO,hasAbstractModifier:()=>qb,hasAccessorModifier:()=>vm,hasAmbientModifier:()=>hJ,hasChangesInResolutions:()=>hB,hasContextSensitiveParameters:()=>hF,hasDecorators:()=>zf,hasDocComment:()=>Sae,hasDynamicName:()=>wh,hasEffectiveModifier:()=>pf,hasEffectiveModifiers:()=>gJ,hasEffectiveReadonlyModifier:()=>SS,hasExtension:()=>AC,hasImplementationTSFileExtension:()=>Yee,hasIndexSignature:()=>yq,hasInferredType:()=>xF,hasInitializer:()=>b0,hasInvalidEscape:()=>aJ,hasJSDocNodes:()=>If,hasJSDocParameterTags:()=>kZ,hasJSFileExtension:()=>qg,hasJsonModuleEmitEnabled:()=>tF,hasOnlyExpressionInitializer:()=>lS,hasOverrideModifier:()=>z5,hasPossibleExternalModuleReference:()=>yK,hasProperty:()=>io,hasPropertyAccessExpressionWithName:()=>QA,hasQuestionToken:()=>kx,hasRecordedExternalHelpers:()=>Tre,hasResolutionModeOverride:()=>dte,hasRestParameter:()=>fB,hasScopeMarker:()=>VZ,hasStaticModifier:()=>ml,hasSyntacticModifier:()=>Xn,hasSyntacticModifiers:()=>pee,hasTSFileExtension:()=>xS,hasTabstop:()=>_te,hasTrailingDirectorySeparator:()=>Cy,hasType:()=>q7,hasTypeArguments:()=>n0e,hasZeroOrOneAsteriskCharacter:()=>BJ,hostGetCanonicalFileName:()=>Ph,hostUsesCaseSensitiveFileNames:()=>bS,idText:()=>In,identifierIsThisKeyword:()=>dJ,identifierToKeywordKind:()=>nS,identity:()=>To,identitySourceMapConsumer:()=>KW,ignoreSourceNewlines:()=>Tz,ignoredPaths:()=>h7,importFromModuleSpecifier:()=>ZD,importSyntaxAffectsModuleResolution:()=>RJ,indexOfAnyCharCode:()=>pQ,indexOfNode:()=>VC,indicesOf:()=>s7,inferredTypesContainingFile:()=>hw,injectClassNamedEvaluationHelperBlockIfMissing:()=>JO,injectClassThisAssignmentIfMissing:()=>rie,insertImports:()=>oq,insertSorted:()=>hy,insertStatementAfterCustomPrologue:()=>uS,insertStatementAfterStandardPrologue:()=>Qhe,insertStatementsAfterCustomPrologue:()=>yB,insertStatementsAfterStandardPrologue:()=>jg,intersperse:()=>GP,intrinsicTagNameToString:()=>sz,introducesArgumentsExoticObject:()=>AK,inverseJsxOptionMap:()=>_A,isAbstractConstructorSymbol:()=>Nee,isAbstractModifier:()=>$te,isAccessExpression:()=>wo,isAccessibilityModifier:()=>XV,isAccessor:()=>Fy,isAccessorModifier:()=>wz,isAliasableExpression:()=>E5,isAmbientModule:()=>Zu,isAmbientPropertyDeclaration:()=>wB,isAnyDirectorySeparator:()=>Aj,isAnyImportOrBareOrAccessedRequire:()=>gK,isAnyImportOrReExport:()=>F3,isAnyImportOrRequireStatement:()=>hK,isAnyImportSyntax:()=>vx,isAnySupportedFileExtension:()=>D0e,isApplicableVersionedTypesKey:()=>SA,isArgumentExpressionOfElementAccess:()=>jV,isArray:()=>cs,isArrayBindingElement:()=>B7,isArrayBindingOrAssignmentElement:()=>T3,isArrayBindingOrAssignmentPattern:()=>aB,isArrayBindingPattern:()=>F0,isArrayLiteralExpression:()=>_u,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>M0,isArrayTypeNode:()=>XN,isArrowFunction:()=>Po,isAsExpression:()=>T6,isAssertClause:()=>rre,isAssertEntry:()=>G0e,isAssertionExpression:()=>Ab,isAssertsKeyword:()=>Hte,isAssignmentDeclaration:()=>XD,isAssignmentExpression:()=>jl,isAssignmentOperator:()=>Nh,isAssignmentPattern:()=>RD,isAssignmentTarget:()=>zy,isAsteriskToken:()=>GN,isAsyncFunction:()=>n4,isAsyncModifier:()=>M4,isAutoAccessorPropertyDeclaration:()=>w_,isAwaitExpression:()=>Zy,isAwaitKeyword:()=>Dz,isBigIntLiteral:()=>y6,isBinaryExpression:()=>fn,isBinaryLogicalOperator:()=>mN,isBinaryOperatorToken:()=>Nre,isBindableObjectDefinePropertyCall:()=>mS,isBindableStaticAccessExpression:()=>Rb,isBindableStaticElementAccessExpression:()=>x5,isBindableStaticNameExpression:()=>gS,isBindingElement:()=>Ta,isBindingElementOfBareOrAccessedRequire:()=>JK,isBindingName:()=>oS,isBindingOrAssignmentElement:()=>JZ,isBindingOrAssignmentPattern:()=>b3,isBindingPattern:()=>As,isBlock:()=>Fs,isBlockLike:()=>bk,isBlockOrCatchScoped:()=>TB,isBlockScope:()=>PB,isBlockScopedContainerTopLevel:()=>mK,isBooleanLiteral:()=>MD,isBreakOrContinueStatement:()=>ID,isBreakStatement:()=>V0e,isBuildCommand:()=>jse,isBuildInfoFile:()=>Nie,isBuilderProgram:()=>YU,isBundle:()=>are,isCallChain:()=>iS,isCallExpression:()=>Is,isCallExpressionTarget:()=>IV,isCallLikeExpression:()=>Nb,isCallLikeOrFunctionLikeExpression:()=>oB,isCallOrNewExpression:()=>fm,isCallOrNewExpressionTarget:()=>FV,isCallSignatureDeclaration:()=>Xx,isCallToHelper:()=>L4,isCaseBlock:()=>U4,isCaseClause:()=>E6,isCaseKeyword:()=>Qte,isCaseOrDefaultClause:()=>U7,isCatchClause:()=>n2,isCatchClauseVariableDeclaration:()=>ute,isCatchClauseVariableDeclarationOrBindingElement:()=>xB,isCheckJsEnabledForFile:()=>x4,isCircularBuildOrder:()=>gk,isClassDeclaration:()=>cl,isClassElement:()=>Kc,isClassExpression:()=>Uc,isClassInstanceProperty:()=>jZ,isClassLike:()=>Qn,isClassMemberModifier:()=>nB,isClassNamedEvaluationHelperBlock:()=>pk,isClassOrTypeElement:()=>j7,isClassStaticBlockDeclaration:()=>Ic,isClassThisAssignmentBlock:()=>uw,isColonToken:()=>Vte,isCommaExpression:()=>rA,isCommaListExpression:()=>z4,isCommaSequence:()=>$4,isCommaToken:()=>Ute,isComment:()=>R9,isCommonJsExportPropertyAssignment:()=>l5,isCommonJsExportedExpression:()=>PK,isCompoundAssignment:()=>ow,isComputedNonLiteralName:()=>O3,isComputedPropertyName:()=>Ys,isConciseBody:()=>z7,isConditionalExpression:()=>AS,isConditionalTypeNode:()=>Zb,isConstAssertion:()=>az,isConstTypeReference:()=>ud,isConstructSignatureDeclaration:()=>B4,isConstructorDeclaration:()=>lc,isConstructorTypeNode:()=>v6,isContextualKeyword:()=>w5,isContinueStatement:()=>U0e,isCustomPrologue:()=>B3,isDebuggerStatement:()=>q0e,isDeclaration:()=>Ml,isDeclarationBindingElement:()=>v3,isDeclarationFileName:()=>Jl,isDeclarationName:()=>ng,isDeclarationNameOfEnumOrNamespace:()=>wJ,isDeclarationReadonly:()=>M3,isDeclarationStatement:()=>$Z,isDeclarationWithTypeParameterChildren:()=>AB,isDeclarationWithTypeParameters:()=>NB,isDecorator:()=>hl,isDecoratorTarget:()=>uae,isDefaultClause:()=>V4,isDefaultImport:()=>hS,isDefaultModifier:()=>LF,isDefaultedExpandoInitializer:()=>zK,isDeleteExpression:()=>Zte,isDeleteTarget:()=>$B,isDeprecatedDeclaration:()=>rL,isDestructuringAssignment:()=>k0,isDiskPathRoot:()=>Ij,isDoStatement:()=>W0e,isDocumentRegistryEntry:()=>g8,isDotDotDotToken:()=>FF,isDottedName:()=>hN,isDynamicName:()=>N5,isEffectiveExternalModule:()=>qC,isEffectiveStrictModeSourceFile:()=>DB,isElementAccessChain:()=>Yj,isElementAccessExpression:()=>ho,isEmittedFileOfProgram:()=>Rie,isEmptyArrayLiteral:()=>See,isEmptyBindingElement:()=>hZ,isEmptyBindingPattern:()=>gZ,isEmptyObjectLiteral:()=>xJ,isEmptyStatement:()=>Az,isEmptyStringLiteral:()=>jB,isEntityName:()=>u_,isEntityNameExpression:()=>so,isEnumConst:()=>Q1,isEnumDeclaration:()=>pv,isEnumMember:()=>Lh,isEqualityOperatorKind:()=>X9,isEqualsGreaterThanToken:()=>qte,isExclamationToken:()=>$N,isExcludedFile:()=>sne,isExclusivelyTypeOnlyImportOrExport:()=>PU,isExpandoPropertyDeclaration:()=>Wx,isExportAssignment:()=>Wo,isExportDeclaration:()=>qc,isExportModifier:()=>Gx,isExportName:()=>XF,isExportNamespaceAsDefaultDeclaration:()=>t5,isExportOrDefaultModifier:()=>aA,isExportSpecifier:()=>ju,isExportsIdentifier:()=>dS,isExportsOrModuleExportsOrAlias:()=>a2,isExpression:()=>ut,isExpressionNode:()=>rg,isExpressionOfExternalModuleImportEqualsDeclaration:()=>pae,isExpressionOfOptionalChainRoot:()=>O7,isExpressionStatement:()=>Bl,isExpressionWithTypeArguments:()=>Fh,isExpressionWithTypeArgumentsInClassExtendsClause:()=>U5,isExternalModule:()=>vl,isExternalModuleAugmentation:()=>Ob,isExternalModuleImportEqualsDeclaration:()=>Z1,isExternalModuleIndicator:()=>k3,isExternalModuleNameRelative:()=>Ol,isExternalModuleReference:()=>Oh,isExternalModuleSymbol:()=>mx,isExternalOrCommonJsModule:()=>uf,isFileLevelReservedGeneratedIdentifier:()=>y3,isFileLevelUniqueName:()=>K7,isFileProbablyExternalModule:()=>lA,isFirstDeclarationOfSymbolParameter:()=>pq,isFixablePromiseHandler:()=>Vq,isForInOrOfStatement:()=>cS,isForInStatement:()=>JF,isForInitializer:()=>_p,isForOfStatement:()=>YN,isForStatement:()=>fv,isFullSourceFile:()=>Jg,isFunctionBlock:()=>Lb,isFunctionBody:()=>lB,isFunctionDeclaration:()=>Fc,isFunctionExpression:()=>ko,isFunctionExpressionOrArrowFunction:()=>Gy,isFunctionLike:()=>Ps,isFunctionLikeDeclaration:()=>lo,isFunctionLikeKind:()=>_x,isFunctionLikeOrClassStaticBlockDeclaration:()=>JC,isFunctionOrConstructorTypeNode:()=>BZ,isFunctionOrModuleBlock:()=>iB,isFunctionSymbol:()=>VK,isFunctionTypeNode:()=>sg,isGeneratedIdentifier:()=>qo,isGeneratedPrivateIdentifier:()=>aS,isGetAccessor:()=>Lg,isGetAccessorDeclaration:()=>bp,isGetOrSetAccessorDeclaration:()=>h3,isGlobalScopeAugmentation:()=>tg,isGlobalSourceFile:()=>S0,isGrammarError:()=>cK,isHeritageClause:()=>gf,isHoistedFunction:()=>o5,isHoistedVariableStatement:()=>c5,isIdentifier:()=>Me,isIdentifierANonContextualKeyword:()=>KB,isIdentifierName:()=>ZK,isIdentifierOrThisTypeNode:()=>Ere,isIdentifierPart:()=>xh,isIdentifierStart:()=>Ym,isIdentifierText:()=>q_,isIdentifierTypePredicate:()=>IK,isIdentifierTypeReference:()=>ste,isIfStatement:()=>_v,isIgnoredFileFromWildCardWatching:()=>LA,isImplicitGlob:()=>WJ,isImportAttribute:()=>nre,isImportAttributeName:()=>RZ,isImportAttributes:()=>OS,isImportCall:()=>N_,isImportClause:()=>gd,isImportDeclaration:()=>Yo,isImportEqualsDeclaration:()=>yl,isImportKeyword:()=>j4,isImportMeta:()=>$C,isImportOrExportSpecifier:()=>Ay,isImportOrExportSpecifierName:()=>jae,isImportSpecifier:()=>n_,isImportTypeAssertionContainer:()=>H0e,isImportTypeNode:()=>Cm,isImportable:()=>Iq,isInComment:()=>L0,isInCompoundLikeAssignment:()=>GB,isInExpressionContext:()=>h5,isInJSDoc:()=>$D,isInJSFile:()=>on,isInJSXText:()=>bae,isInJsonFile:()=>v5,isInNonReferenceComment:()=>Eae,isInReferenceComment:()=>Cae,isInRightSideOfInternalImportEqualsDeclaration:()=>C9,isInString:()=>hk,isInTemplateString:()=>qV,isInTopLevelContext:()=>d5,isInTypeQuery:()=>wx,isIncrementalBuildInfo:()=>zA,isIncrementalBundleEmitBuildInfo:()=>ise,isIncrementalCompilation:()=>Gb,isIndexSignatureDeclaration:()=>Yy,isIndexedAccessTypeNode:()=>Kb,isInferTypeNode:()=>wS,isInfinityOrNaNString:()=>w4,isInitializedProperty:()=>CA,isInitializedVariable:()=>TN,isInsideJsxElement:()=>L9,isInsideJsxElementOrAttribute:()=>vae,isInsideNodeModules:()=>_8,isInsideTemplateLiteral:()=>t8,isInstanceOfExpression:()=>V5,isInstantiatedModule:()=>HW,isInterfaceDeclaration:()=>Zl,isInternalDeclaration:()=>eK,isInternalModuleImportEqualsDeclaration:()=>pS,isInternalName:()=>Gz,isIntersectionTypeNode:()=>Zx,isIntrinsicJsxName:()=>s6,isIterationStatement:()=>Oy,isJSDoc:()=>zd,isJSDocAllType:()=>lre,isJSDocAugmentsTag:()=>nk,isJSDocAuthorTag:()=>Y0e,isJSDocCallbackTag:()=>Lz,isJSDocClassTag:()=>_re,isJSDocCommentContainingNode:()=>V7,isJSDocConstructSignature:()=>Cx,isJSDocDeprecatedTag:()=>Jz,isJSDocEnumTag:()=>KN,isJSDocFunctionType:()=>w6,isJSDocImplementsTag:()=>HF,isJSDocImportTag:()=>Nm,isJSDocIndexSignature:()=>S5,isJSDocLikeText:()=>rW,isJSDocLink:()=>ore,isJSDocLinkCode:()=>cre,isJSDocLinkLike:()=>dx,isJSDocLinkPlain:()=>X0e,isJSDocMemberName:()=>gv,isJSDocNameReference:()=>q4,isJSDocNamepathType:()=>Q0e,isJSDocNamespaceBody:()=>Uhe,isJSDocNode:()=>zC,isJSDocNonNullableType:()=>WF,isJSDocNullableType:()=>D6,isJSDocOptionalParameter:()=>vF,isJSDocOptionalType:()=>Oz,isJSDocOverloadTag:()=>P6,isJSDocOverrideTag:()=>VF,isJSDocParameterTag:()=>Uf,isJSDocPrivateTag:()=>Rz,isJSDocPropertyLikeTag:()=>FD,isJSDocPropertyTag:()=>fre,isJSDocProtectedTag:()=>jz,isJSDocPublicTag:()=>Mz,isJSDocReadonlyTag:()=>Bz,isJSDocReturnTag:()=>qF,isJSDocSatisfiesExpression:()=>nz,isJSDocSatisfiesTag:()=>GF,isJSDocSeeTag:()=>Z0e,isJSDocSignature:()=>O0,isJSDocTag:()=>WC,isJSDocTemplateTag:()=>Qp,isJSDocThisTag:()=>zz,isJSDocThrowsTag:()=>eye,isJSDocTypeAlias:()=>qp,isJSDocTypeAssertion:()=>i2,isJSDocTypeExpression:()=>mv,isJSDocTypeLiteral:()=>MS,isJSDocTypeTag:()=>H4,isJSDocTypedefTag:()=>RS,isJSDocUnknownTag:()=>K0e,isJSDocUnknownType:()=>ure,isJSDocVariadicType:()=>UF,isJSXTagName:()=>YC,isJsonEqual:()=>mF,isJsonSourceFile:()=>pp,isJsxAttribute:()=>Pm,isJsxAttributeLike:()=>W7,isJsxAttributeName:()=>pte,isJsxAttributes:()=>r2,isJsxCallLike:()=>ZZ,isJsxChild:()=>D3,isJsxClosingElement:()=>t2,isJsxClosingFragment:()=>sre,isJsxElement:()=>wm,isJsxExpression:()=>C6,isJsxFragment:()=>dv,isJsxNamespacedName:()=>Jd,isJsxOpeningElement:()=>Bd,isJsxOpeningFragment:()=>hd,isJsxOpeningLikeElement:()=>Mu,isJsxOpeningLikeElementTagName:()=>_ae,isJsxSelfClosingElement:()=>LS,isJsxSpreadAttribute:()=>rk,isJsxTagNameExpression:()=>jD,isJsxText:()=>qx,isJumpStatementTarget:()=>YA,isKeyword:()=>I_,isKeywordOrPunctuation:()=>D5,isKnownSymbol:()=>s4,isLabelName:()=>MV,isLabelOfLabeledStatement:()=>LV,isLabeledStatement:()=>Ky,isLateVisibilityPaintedStatement:()=>n5,isLeftHandSideExpression:()=>P_,isLet:()=>a5,isLineBreak:()=>Fu,isLiteralComputedPropertyDeclarationName:()=>aN,isLiteralExpression:()=>sS,isLiteralExpressionOfObject:()=>tB,isLiteralImportTypeNode:()=>Eh,isLiteralKind:()=>OD,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>w9,isLiteralTypeLiteral:()=>UZ,isLiteralTypeNode:()=>I0,isLocalName:()=>Mh,isLogicalOperator:()=>yee,isLogicalOrCoalescingAssignmentExpression:()=>vJ,isLogicalOrCoalescingAssignmentOperator:()=>u4,isLogicalOrCoalescingBinaryExpression:()=>gN,isLogicalOrCoalescingBinaryOperator:()=>W5,isMappedTypeNode:()=>NS,isMemberName:()=>Og,isMetaProperty:()=>IS,isMethodDeclaration:()=>cc,isMethodOrAccessor:()=>fx,isMethodSignature:()=>md,isMinusToken:()=>Ez,isMissingDeclaration:()=>$0e,isMissingPackageJsonInfo:()=>gne,isModifier:()=>ra,isModifierKind:()=>Iy,isModifierLike:()=>Ho,isModuleAugmentationExternal:()=>CB,isModuleBlock:()=>Em,isModuleBody:()=>qZ,isModuleDeclaration:()=>Vc,isModuleExportName:()=>zF,isModuleExportsAccessExpression:()=>zg,isModuleIdentifier:()=>zB,isModuleName:()=>Pre,isModuleOrEnumDeclaration:()=>C3,isModuleReference:()=>QZ,isModuleSpecifierLike:()=>U9,isModuleWithStringLiteralName:()=>r5,isNameOfFunctionDeclaration:()=>JV,isNameOfModuleDeclaration:()=>BV,isNamedDeclaration:()=>Ll,isNamedEvaluation:()=>_f,isNamedEvaluationSource:()=>eJ,isNamedExportBindings:()=>Kj,isNamedExports:()=>Tp,isNamedImportBindings:()=>uB,isNamedImports:()=>Dm,isNamedImportsOrExports:()=>Q5,isNamedTupleMember:()=>b6,isNamespaceBody:()=>Whe,isNamespaceExport:()=>ag,isNamespaceExportDeclaration:()=>ZN,isNamespaceImport:()=>Xg,isNamespaceReexportDeclaration:()=>BK,isNewExpression:()=>e2,isNewExpressionTarget:()=>xw,isNewScopeNode:()=>bte,isNoSubstitutionTemplateLiteral:()=>DS,isNodeArray:()=>wb,isNodeArrayMultiLine:()=>Dee,isNodeDescendantOf:()=>Bb,isNodeKind:()=>M7,isNodeLikeSystem:()=>oj,isNodeModulesDirectory:()=>T7,isNodeWithPossibleHoistedDeclaration:()=>QK,isNonContextualKeyword:()=>ZB,isNonGlobalAmbientModule:()=>kB,isNonNullAccess:()=>fte,isNonNullChain:()=>L7,isNonNullExpression:()=>ek,isNonStaticMethodOrAccessorWithPrivateName:()=>Xne,isNotEmittedStatement:()=>ire,isNullishCoalesce:()=>Zj,isNumber:()=>by,isNumericLiteral:()=>O_,isNumericLiteralName:()=>Gg,isObjectBindingElementWithoutPropertyName:()=>s8,isObjectBindingOrAssignmentElement:()=>S3,isObjectBindingOrAssignmentPattern:()=>sB,isObjectBindingPattern:()=>Wf,isObjectLiteralElement:()=>_B,isObjectLiteralElementLike:()=>Ch,isObjectLiteralExpression:()=>ma,isObjectLiteralMethod:()=>Vp,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>u5,isObjectTypeDeclaration:()=>Fx,isOmittedExpression:()=>Dl,isOptionalChain:()=>Ou,isOptionalChainRoot:()=>ND,isOptionalDeclaration:()=>Jx,isOptionalJSDocPropertyLikeTag:()=>RN,isOptionalTypeNode:()=>MF,isOuterExpression:()=>QF,isOutermostOptionalChain:()=>AD,isOverrideModifier:()=>Xte,isPackageJsonInfo:()=>SO,isPackedArrayLiteral:()=>tz,isParameter:()=>Li,isParameterPropertyDeclaration:()=>cf,isParameterPropertyModifier:()=>LD,isParenthesizedExpression:()=>m_,isParenthesizedTypeNode:()=>PS,isParseTreeNode:()=>PD,isPartOfParameterDeclaration:()=>nv,isPartOfTypeNode:()=>gm,isPartOfTypeOnlyImportOrExportDeclaration:()=>MZ,isPartOfTypeQuery:()=>y5,isPartiallyEmittedExpression:()=>Kte,isPatternMatch:()=>c7,isPinnedComment:()=>e5,isPlainJsFile:()=>JD,isPlusToken:()=>Cz,isPossiblyTypeArgumentPosition:()=>e8,isPostfixUnaryExpression:()=>Nz,isPrefixUnaryExpression:()=>uv,isPrimitiveLiteralValue:()=>TF,isPrivateIdentifier:()=>Oi,isPrivateIdentifierClassElementDeclaration:()=>Lu,isPrivateIdentifierPropertyAccessExpression:()=>BC,isPrivateIdentifierSymbol:()=>tee,isProgramUptoDate:()=>FU,isPrologueDirective:()=>mm,isPropertyAccessChain:()=>F7,isPropertyAccessEntityNameExpression:()=>yN,isPropertyAccessExpression:()=>Pn,isPropertyAccessOrQualifiedName:()=>x3,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>zZ,isPropertyAssignment:()=>ll,isPropertyDeclaration:()=>ls,isPropertyName:()=>Zc,isPropertyNameLiteral:()=>hm,isPropertySignature:()=>r_,isPrototypeAccess:()=>Vy,isPrototypePropertyAssignment:()=>K3,isPunctuation:()=>YB,isPushOrUnshiftIdentifier:()=>tJ,isQualifiedName:()=>p_,isQuestionDotToken:()=>OF,isQuestionOrExclamationToken:()=>Cre,isQuestionOrPlusOrMinusToken:()=>wre,isQuestionToken:()=>Qy,isReadonlyKeyword:()=>Gte,isReadonlyKeywordOrPlusOrMinusToken:()=>Dre,isRecognizedTripleSlashComment:()=>vB,isReferenceFileLocation:()=>H6,isReferencedFile:()=>kv,isRegularExpressionLiteral:()=>xz,isRequireCall:()=>A_,isRequireVariableStatement:()=>G3,isRestParameter:()=>Km,isRestTypeNode:()=>RF,isReturnStatement:()=>Ff,isReturnStatementWithFixablePromiseHandler:()=>uL,isRightSideOfAccessExpression:()=>TJ,isRightSideOfInstanceofExpression:()=>bee,isRightSideOfPropertyAccess:()=>Y6,isRightSideOfQualifiedName:()=>fae,isRightSideOfQualifiedNameOrPropertyAccess:()=>_4,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>vee,isRootedDiskPath:()=>of,isSameEntityName:()=>ZC,isSatisfiesExpression:()=>x6,isSemicolonClassElement:()=>ere,isSetAccessor:()=>pm,isSetAccessorDeclaration:()=>X_,isShiftOperatorOrHigher:()=>Kz,isShorthandAmbientModuleSymbol:()=>I3,isShorthandPropertyAssignment:()=>ku,isSideEffectImport:()=>cz,isSignedNumericLiteral:()=>P5,isSimpleCopiableExpression:()=>o2,isSimpleInlineableExpression:()=>lg,isSimpleParameterList:()=>EA,isSingleOrDoubleQuote:()=>$3,isSolutionConfig:()=>TW,isSourceElement:()=>mte,isSourceFile:()=>Ai,isSourceFileFromLibrary:()=>oE,isSourceFileJS:()=>__,isSourceFileNotJson:()=>b5,isSourceMapping:()=>Hne,isSpecialPropertyDeclaration:()=>UK,isSpreadAssignment:()=>Qg,isSpreadElement:()=>Sp,isStatement:()=>Ci,isStatementButNotDeclaration:()=>E3,isStatementOrBlock:()=>XZ,isStatementWithLocals:()=>oK,isStatic:()=>Vs,isStaticModifier:()=>$x,isString:()=>ys,isStringANonContextualKeyword:()=>Dx,isStringAndEmptyAnonymousObjectIntersection:()=>kae,isStringDoubleQuoted:()=>T5,isStringLiteral:()=>fa,isStringLiteralLike:()=>za,isStringLiteralOrJsxExpression:()=>YZ,isStringLiteralOrTemplate:()=>Wae,isStringOrNumericLiteralLike:()=>Jf,isStringOrRegularExpressionOrTemplateLiteral:()=>$V,isStringTextContainingNode:()=>rB,isSuperCall:()=>fS,isSuperKeyword:()=>R4,isSuperProperty:()=>H_,isSupportedSourceFileName:()=>GJ,isSwitchStatement:()=>W4,isSyntaxList:()=>N6,isSyntheticExpression:()=>z0e,isSyntheticReference:()=>tk,isTagName:()=>RV,isTaggedTemplateExpression:()=>lv,isTaggedTemplateTag:()=>lae,isTemplateExpression:()=>BF,isTemplateHead:()=>Hx,isTemplateLiteral:()=>px,isTemplateLiteralKind:()=>Ny,isTemplateLiteralToken:()=>OZ,isTemplateLiteralTypeNode:()=>Yte,isTemplateLiteralTypeSpan:()=>Pz,isTemplateMiddle:()=>kz,isTemplateMiddleOrTemplateTail:()=>R7,isTemplateSpan:()=>k6,isTemplateTail:()=>IF,isTextWhiteSpaceLike:()=>Nae,isThis:()=>Z6,isThisContainerOrFunctionBlock:()=>MK,isThisIdentifier:()=>Uy,isThisInTypeQuery:()=>Ub,isThisInitializedDeclaration:()=>m5,isThisInitializedObjectBindingExpression:()=>jK,isThisProperty:()=>W3,isThisTypeNode:()=>J4,isThisTypeParameter:()=>P4,isThisTypePredicate:()=>FK,isThrowStatement:()=>Fz,isToken:()=>ux,isTokenKind:()=>eB,isTraceEnabled:()=>t1,isTransientSymbol:()=>Mg,isTrivia:()=>n6,isTryStatement:()=>FS,isTupleTypeNode:()=>Yx,isTypeAlias:()=>rN,isTypeAliasDeclaration:()=>Xp,isTypeAssertionExpression:()=>jF,isTypeDeclaration:()=>Bx,isTypeElement:()=>Pb,isTypeKeyword:()=>Dw,isTypeKeywordTokenOrIdentifier:()=>J9,isTypeLiteralNode:()=>d_,isTypeNode:()=>_i,isTypeNodeKind:()=>IJ,isTypeOfExpression:()=>S6,isTypeOnlyExportDeclaration:()=>LZ,isTypeOnlyImportDeclaration:()=>jC,isTypeOnlyImportOrExportDeclaration:()=>v0,isTypeOperatorNode:()=>cv,isTypeParameterDeclaration:()=>zo,isTypePredicateNode:()=>Qx,isTypeQueryNode:()=>Yb,isTypeReferenceNode:()=>mf,isTypeReferenceType:()=>H7,isTypeUsableAsPropertyName:()=>yp,isUMDExportSymbol:()=>X5,isUnaryExpression:()=>cB,isUnaryExpressionWithWrite:()=>WZ,isUnicodeIdentifierStart:()=>k7,isUnionTypeNode:()=>A0,isUrl:()=>XY,isValidBigIntString:()=>gF,isValidESSymbolDeclaration:()=>NK,isValidTypeOnlyAliasUseSite:()=>sv,isValueSignatureDeclaration:()=>yS,isVarAwaitUsing:()=>R3,isVarConst:()=>GC,isVarConstLike:()=>EK,isVarUsing:()=>j3,isVariableDeclaration:()=>ri,isVariableDeclarationInVariableStatement:()=>VD,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>Mb,isVariableDeclarationInitializedToRequire:()=>H3,isVariableDeclarationList:()=>Yl,isVariableLike:()=>UD,isVariableStatement:()=>Bc,isVoidExpression:()=>Kx,isWatchSet:()=>PJ,isWhileStatement:()=>Iz,isWhiteSpaceLike:()=>Ag,isWhiteSpaceSingleLine:()=>_m,isWithStatement:()=>tre,isWriteAccess:()=>Ix,isWriteOnlyAccess:()=>$5,isYieldExpression:()=>QN,jsxModeNeedsExplicitImport:()=>Pq,keywordPart:()=>bf,last:()=>ha,lastOrUndefined:()=>Fo,length:()=>yr,libMap:()=>oW,libs:()=>nO,lineBreakPart:()=>iE,loadModuleFromGlobalCache:()=>wne,loadWithModeAwareCache:()=>RA,makeIdentifierFromModuleName:()=>dK,makeImport:()=>c1,makeStringLiteral:()=>ww,mangleScopedPackageName:()=>z6,map:()=>hr,mapAllOrFail:()=>JR,mapDefined:()=>Mi,mapDefinedIterator:()=>gy,mapEntries:()=>gQ,mapIterator:()=>oD,mapOneOrMany:()=>Cq,mapToDisplayParts:()=>l1,matchFiles:()=>VJ,matchPatternOrExact:()=>XJ,matchedText:()=>NQ,matchesExclude:()=>gO,matchesExcludeWorker:()=>hO,maxBy:()=>KR,maybeBind:()=>Rs,maybeSetLocalizedDiagnosticMessages:()=>Mee,memoize:()=>Yu,memoizeOne:()=>um,min:()=>ej,minAndMax:()=>rte,missingFileModifiedTime:()=>af,modifierToFlag:()=>Nx,modifiersToFlags:()=>bm,moduleExportNameIsDefault:()=>eg,moduleExportNameTextEscaped:()=>Fb,moduleExportNameTextUnescaped:()=>jy,moduleOptionDeclaration:()=>zre,moduleResolutionIsEqualTo:()=>sK,moduleResolutionNameAndModeGetter:()=>$O,moduleResolutionOptionDeclarations:()=>lW,moduleResolutionSupportsPackageJsonExportsAndImports:()=>f6,moduleResolutionUsesNodeModules:()=>z9,moduleSpecifierToValidIdentifier:()=>p8,moduleSpecifiers:()=>jh,moduleSupportsImportAttributes:()=>Uee,moduleSymbolToValidIdentifier:()=>f8,moveEmitHelpers:()=>Ote,moveRangeEnd:()=>H5,moveRangePastDecorators:()=>Ah,moveRangePastModifiers:()=>Sm,moveRangePos:()=>iv,moveSyntheticComments:()=>Ate,mutateMap:()=>g4,mutateMapSkippingNewValues:()=>Ug,needsParentheses:()=>G9,needsScopeMarker:()=>J7,newCaseClauseTracker:()=>sL,newPrivateEnvironment:()=>Yne,noEmitNotification:()=>NA,noEmitSubstitution:()=>fw,noTransformers:()=>wie,noTruncationMaximumTruncationLength:()=>dB,nodeCanBeDecorated:()=>V3,nodeCoreModules:()=>g6,nodeHasName:()=>d3,nodeIsDecorated:()=>QC,nodeIsMissing:()=>mc,nodeIsPresent:()=>Up,nodeIsSynthesized:()=>go,nodeModuleNameResolver:()=>Sne,nodeModulesPathPart:()=>Yg,nodeNextJsonConfigResolver:()=>Tne,nodeOrChildIsDecorated:()=>q3,nodeOverlapsWithStartEnd:()=>P9,nodePosToString:()=>Hhe,nodeSeenTracker:()=>tE,nodeStartsNewLexicalEnvironment:()=>rJ,noop:()=>Xa,noopFileWatcher:()=>X6,normalizePath:()=>Qs,normalizeSlashes:()=>Xl,normalizeSpans:()=>Uj,not:()=>u7,notImplemented:()=>$s,notImplementedResolver:()=>Fie,nullNodeConverters:()=>wte,nullParenthesizerRules:()=>Ete,nullTransformationContext:()=>IA,objectAllocator:()=>lu,operatorPart:()=>Nw,optionDeclarations:()=>yd,optionMapToObject:()=>uO,optionsAffectingProgramStructure:()=>qre,optionsForBuild:()=>_W,optionsForWatch:()=>ck,optionsHaveChanges:()=>gx,or:()=>sf,orderedRemoveItem:()=>_D,orderedRemoveItemAt:()=>ky,packageIdToPackageName:()=>Z7,packageIdToString:()=>X1,parameterIsThisKeyword:()=>Wy,parameterNamePart:()=>Iae,parseBaseNodeFactory:()=>Lre,parseBigInt:()=>ite,parseBuildCommand:()=>Kre,parseCommandLine:()=>Yre,parseCommandLineWorker:()=>fW,parseConfigFileTextToJson:()=>dW,parseConfigFileWithSystem:()=>yse,parseConfigHostFromCompilerHostLike:()=>e9,parseCustomTypeOption:()=>oO,parseIsolatedEntityName:()=>ok,parseIsolatedJSDocComment:()=>Rre,parseJSDocTypeExpressionForTests:()=>kye,parseJsonConfigFileContent:()=>e1e,parseJsonSourceFileConfigFileContent:()=>gA,parseJsonText:()=>uA,parseListTypeOption:()=>Xre,parseNodeFactory:()=>yv,parseNodeModuleFromPath:()=>bA,parsePackageName:()=>kO,parsePseudoBigInt:()=>C4,parseValidBigInt:()=>KJ,pasteEdits:()=>wG,patchWriteFileEnsuringDirectory:()=>$Y,pathContainsNodeModules:()=>n1,pathIsAbsolute:()=>bD,pathIsBareSpecifier:()=>Fj,pathIsRelative:()=>Af,patternText:()=>PQ,performIncrementalCompilation:()=>vse,performance:()=>jQ,positionBelongsToNode:()=>zV,positionIsASICandidate:()=>Q9,positionIsSynthesized:()=>Rd,positionsAreOnSameLine:()=>gp,preProcessFile:()=>lSe,probablyUsesSemicolons:()=>u8,processCommentPragmas:()=>sW,processPragmasIntoFields:()=>aW,processTaggedTemplateExpression:()=>oU,programContainsEsModules:()=>wae,programContainsModules:()=>Dae,projectReferenceIsEqualTo:()=>mB,propertyNamePart:()=>Fae,pseudoBigIntToString:()=>$b,punctuationPart:()=>zu,pushIfUnique:()=>cp,quote:()=>Fw,quotePreferenceFromString:()=>iq,rangeContainsPosition:()=>K6,rangeContainsPositionExclusive:()=>ZA,rangeContainsRange:()=>F_,rangeContainsRangeExclusive:()=>dae,rangeContainsStartEnd:()=>KA,rangeEndIsOnSameLineAsRangeStart:()=>SN,rangeEndPositionsAreOnSameLine:()=>Cee,rangeEquals:()=>qR,rangeIsOnSingleLine:()=>TS,rangeOfNode:()=>YJ,rangeOfTypeParameters:()=>ZJ,rangeOverlapsWithStartEnd:()=>kw,rangeStartIsOnSameLineAsRangeEnd:()=>Eee,rangeStartPositionsAreOnSameLine:()=>G5,readBuilderProgram:()=>_9,readConfigFile:()=>dA,readJson:()=>c6,readJsonConfigFile:()=>ene,readJsonOrUndefined:()=>kJ,reduceEachLeadingCommentRange:()=>nZ,reduceEachTrailingCommentRange:()=>iZ,reduceLeft:()=>Qu,reduceLeftIterator:()=>aD,reducePathComponents:()=>ox,refactor:()=>Tk,regExpEscape:()=>S0e,regularExpressionFlagToCharacterCode:()=>bhe,relativeComplement:()=>hQ,removeAllComments:()=>UN,removeEmitHelper:()=>R0e,removeExtension:()=>FN,removeFileExtension:()=>t_,removeIgnoredPath:()=>i9,removeMinAndVersionNumbers:()=>nj,removePrefix:()=>fD,removeSuffix:()=>wC,removeTrailingDirectorySeparator:()=>h0,repeatString:()=>n8,replaceElement:()=>$R,replaceFirstStar:()=>kS,resolutionExtensionIsTSOrJson:()=>S4,resolveConfigFileProjectName:()=>_V,resolveJSModule:()=>yne,resolveLibrary:()=>xO,resolveModuleName:()=>zS,resolveModuleNameFromCache:()=>N1e,resolvePackageNameToPackageJson:()=>EW,resolvePath:()=>Ey,resolveProjectReferencePath:()=>dk,resolveTripleslashReference:()=>kU,resolveTypeReferenceDirective:()=>dne,resolvingEmptyArray:()=>pB,returnFalse:()=>Sh,returnNoopFileWatcher:()=>bw,returnTrue:()=>xb,returnUndefined:()=>kb,returnsPromise:()=>Uq,rewriteModuleSpecifier:()=>_k,sameFlatMap:()=>dQ,sameMap:()=>nl,sameMapping:()=>bve,scanTokenAtPosition:()=>CK,scanner:()=>Kl,semanticDiagnosticsOptionDeclarations:()=>Wre,serializeCompilerOptions:()=>vW,server:()=>_3e,servicesVersion:()=>ZTe,setCommentRange:()=>ol,setConfigFileInOptions:()=>bW,setConstantValue:()=>Fte,setEmitFlags:()=>_n,setGetSourceFileAsHashVersioned:()=>u9,setIdentifierAutoGenerate:()=>HN,setIdentifierGeneratedImportReference:()=>Rte,setIdentifierTypeArguments:()=>N0,setInternalEmitFlags:()=>VN,setLocalizedDiagnosticMessages:()=>Lee,setNodeChildren:()=>pre,setNodeFlags:()=>ote,setObjectAllocator:()=>Oee,setOriginalNode:()=>En,setParent:()=>Ua,setParentRecursive:()=>av,setPrivateIdentifier:()=>US,setSnippetElement:()=>Sz,setSourceMapRange:()=>Sa,setStackTraceLimit:()=>nhe,setStartsOnNewLine:()=>wF,setSyntheticLeadingComments:()=>ov,setSyntheticTrailingComments:()=>Ux,setSys:()=>lhe,setSysLog:()=>qY,setTextRange:()=>ct,setTextRangeEnd:()=>m6,setTextRangePos:()=>E4,setTextRangePosEnd:()=>jd,setTextRangePosWidth:()=>ez,setTokenSourceMapRange:()=>Nte,setTypeNode:()=>Lte,setUILocale:()=>EQ,setValueDeclaration:()=>YD,shouldAllowImportingTsExtension:()=>W6,shouldPreserveConstEnums:()=>qy,shouldRewriteModuleSpecifier:()=>tN,shouldUseUriStyleNodeCoreModules:()=>nL,showModuleSpecifier:()=>Aee,signatureHasRestParameter:()=>Ju,signatureToDisplayParts:()=>mq,single:()=>GR,singleElementArray:()=>ix,singleIterator:()=>mQ,singleOrMany:()=>Xm,singleOrUndefined:()=>Pg,skipAlias:()=>cu,skipConstraint:()=>tq,skipOuterExpressions:()=>Cc,skipParentheses:()=>Wa,skipPartiallyEmittedExpressions:()=>_d,skipTrivia:()=>_a,skipTypeChecking:()=>d6,skipTypeCheckingIgnoringNoCheck:()=>nte,skipTypeParentheses:()=>KD,skipWhile:()=>IQ,sliceAfter:()=>QJ,some:()=>ot,sortAndDeduplicate:()=>uD,sortAndDeduplicateDiagnostics:()=>LC,sourceFileAffectingCompilerOptions:()=>uW,sourceFileMayBeEmitted:()=>zb,sourceMapCommentRegExp:()=>XW,sourceMapCommentRegExpDontCareLineStart:()=>Une,spacePart:()=>yc,spanMap:()=>zR,startEndContainsRange:()=>DJ,startEndOverlapsWithStartEnd:()=>N9,startOnNewLine:()=>Bu,startTracing:()=>WQ,startsWith:()=>Hi,startsWithDirectory:()=>Mj,startsWithUnderscore:()=>wq,startsWithUseStrict:()=>bre,stringContainsAt:()=>Xae,stringToToken:()=>tS,stripQuotes:()=>Hp,supportedDeclarationExtensions:()=>fF,supportedJSExtensionsFlat:()=>p6,supportedLocaleDirectories:()=>vZ,supportedTSExtensionsFlat:()=>qJ,supportedTSImplementationExtensions:()=>NN,suppressLeadingAndTrailingTrivia:()=>df,suppressLeadingTrivia:()=>mz,suppressTrailingTrivia:()=>Tte,symbolEscapedNameNoDefault:()=>W9,symbolName:()=>dc,symbolNameNoDefault:()=>aq,symbolToDisplayParts:()=>Aw,sys:()=>xl,sysLog:()=>r3,tagNamesAreEquivalent:()=>bv,takeWhile:()=>aj,targetOptionDeclaration:()=>cW,targetToLibMap:()=>sZ,testFormatSettings:()=>A2e,textChangeRangeIsUnchanged:()=>dZ,textChangeRangeNewSpan:()=>wD,textChanges:()=>ln,textOrKeywordPart:()=>dq,textPart:()=>Gf,textRangeContainsPositionInclusive:()=>u3,textRangeContainsTextSpan:()=>cZ,textRangeIntersectsWithTextSpan:()=>fZ,textSpanContainsPosition:()=>zj,textSpanContainsTextRange:()=>Wj,textSpanContainsTextSpan:()=>oZ,textSpanEnd:()=>ac,textSpanIntersection:()=>pZ,textSpanIntersectsWith:()=>_3,textSpanIntersectsWithPosition:()=>_Z,textSpanIntersectsWithTextSpan:()=>uZ,textSpanIsEmpty:()=>aZ,textSpanOverlap:()=>lZ,textSpanOverlapsWith:()=>whe,textSpansEqual:()=>nE,textToKeywordObj:()=>x7,timestamp:()=>fo,toArray:()=>rx,toBuilderFileEmit:()=>ose,toBuilderStateFileInfoForMultiEmit:()=>ase,toEditorSettings:()=>S8,toFileNameLowerCase:()=>Sy,toPath:()=>po,toProgramEmitPending:()=>cse,toSorted:()=>nf,tokenIsIdentifierOrKeyword:()=>D_,tokenIsIdentifierOrKeywordOrGreaterThan:()=>YY,tokenToString:()=>Xs,trace:()=>ns,tracing:()=>cn,tracingEnabled:()=>t3,transferSourceFileChildren:()=>dre,transform:()=>cxe,transformClassFields:()=>oie,transformDeclarations:()=>_U,transformECMAScriptModule:()=>uU,transformES2015:()=>Sie,transformES2016:()=>bie,transformES2017:()=>_ie,transformES2018:()=>fie,transformES2019:()=>pie,transformES2020:()=>die,transformES2021:()=>mie,transformESDecorators:()=>uie,transformESNext:()=>gie,transformGenerators:()=>Tie,transformImpliedNodeFormatDependentModule:()=>kie,transformJsx:()=>vie,transformLegacyDecorators:()=>lie,transformModule:()=>lU,transformNamedEvaluation:()=>hf,transformNodes:()=>AA,transformSystemModule:()=>xie,transformTypeScript:()=>aie,transpile:()=>ySe,transpileDeclaration:()=>gSe,transpileModule:()=>yoe,transpileOptionValueCompilerOptions:()=>Hre,tryAddToSet:()=>g0,tryAndIgnoreErrors:()=>K9,tryCast:()=>zn,tryDirectoryExists:()=>Z9,tryExtractTSExtension:()=>q5,tryFileExists:()=>Lw,tryGetClassExtendingExpressionWithTypeArguments:()=>bJ,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>SJ,tryGetDirectories:()=>Y9,tryGetExtensionFromPath:()=>Hg,tryGetImportFromModuleSpecifier:()=>eN,tryGetJSDocSatisfiesTypeNode:()=>bF,tryGetModuleNameFromFile:()=>iA,tryGetModuleSpecifierFromDeclaration:()=>Tx,tryGetNativePerformanceHooks:()=>RQ,tryGetPropertyAccessOrIdentifierToString:()=>vN,tryGetPropertyNameOfBindingOrAssignmentElement:()=>ZF,tryGetSourceMappingURL:()=>Vne,tryGetTextOfPropertyName:()=>WD,tryParseJson:()=>bN,tryParsePattern:()=>jx,tryParsePatterns:()=>ON,tryParseRawSourceMap:()=>qne,tryReadDirectory:()=>Sq,tryReadFile:()=>Y4,tryRemoveDirectoryPrefix:()=>zJ,tryRemoveExtension:()=>tte,tryRemovePrefix:()=>sj,tryRemoveSuffix:()=>wQ,tscBuildOption:()=>BS,typeAcquisitionDeclarations:()=>sO,typeAliasNamePart:()=>Oae,typeDirectiveIsEqualTo:()=>aK,typeKeywords:()=>eq,typeParameterNamePart:()=>Lae,typeToDisplayParts:()=>o8,unchangedPollThresholds:()=>g7,unchangedTextChangeRange:()=>D7,unescapeLeadingUnderscores:()=>ki,unmangleScopedPackageName:()=>TA,unorderedRemoveItem:()=>nx,unprefixedNodeCoreModules:()=>vte,unreachableCodeIsError:()=>zee,unsetNodeChildren:()=>Uz,unusedLabelIsError:()=>Wee,unwrapInnermostStatementOfLabel:()=>MB,unwrapParenthesizedExpression:()=>hte,updateErrorForNoInputFiles:()=>mO,updateLanguageServiceSourceFile:()=>gH,updateMissingFilePathsWatch:()=>SU,updateResolutionField:()=>R6,updateSharedExtendedConfigFileWatcher:()=>VO,updateSourceFile:()=>nW,updateWatchingWildcardDirectories:()=>OA,usingSingleLineStringWriter:()=>UC,utf16EncodeAsString:()=>DD,validateLocaleAndSetLanguage:()=>qj,version:()=>co,versionMajorMinor:()=>Yc,visitArray:()=>sw,visitCommaListElements:()=>IO,visitEachChild:()=>Sr,visitFunctionBody:()=>Hf,visitIterationBody:()=>g_,visitLexicalEnvironment:()=>$W,visitNode:()=>Qe,visitNodes:()=>Ar,visitParameterList:()=>hc,walkUpBindingElementsAndPatterns:()=>rS,walkUpOuterExpressions:()=>Sre,walkUpParenthesizedExpressions:()=>pd,walkUpParenthesizedTypes:()=>sN,walkUpParenthesizedTypesAndGetParentAndChild:()=>YK,whitespaceOrMapCommentRegExp:()=>QW,writeCommentRange:()=>o6,writeFile:()=>B5,writeFileEnsuringDirectories:()=>pJ,zipWith:()=>ZT}),zs.exports=xc(_o);var Yc="5.9",co="5.9.3",kc=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(kc||{}),Ue=[],Rl=new Map;function yr(e){return e!==void 0?e.length:0}function Qt(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=t(e[n],n);if(i)return i}}function Tl(e,t){if(e!==void 0)for(let n=e.length-1;n>=0;n--){const i=t(e[n],n);if(i)return i}}function Ka(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=t(e[n],n);if(i!==void 0)return i}}function Q2(e,t){for(const n of e){const i=t(n);if(i!==void 0)return i}}function aD(e,t,n){let i=n;if(e){let s=0;for(const o of e)i=t(i,o,s),s++}return i}function ZT(e,t,n){const i=[];E.assertEqual(e.length,t.length);for(let s=0;s<e.length;s++)i.push(n(e[s],t[s],s));return i}function GP(e,t){if(e.length<=1)return e;const n=[];for(let i=0,s=e.length;i<s;i++)i!==0&&n.push(t),n.push(e[i]);return n}function Pi(e,t){if(e!==void 0){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function An(e,t,n){if(e!==void 0)for(let i=n??0;i<e.length;i++){const s=e[i];if(t(s,i))return s}}function Sb(e,t,n){if(e!==void 0)for(let i=n??e.length-1;i>=0;i--){const s=e[i];if(t(s,i))return s}}function pc(e,t,n){if(e===void 0)return-1;for(let i=n??0;i<e.length;i++)if(t(e[i],i))return i;return-1}function i7(e,t,n){if(e===void 0)return-1;for(let i=n??e.length-1;i>=0;i--)if(t(e[i],i))return i;return-1}function hs(e,t,n=Ty){if(e!==void 0){for(let i=0;i<e.length;i++)if(n(e[i],t))return!0}return!1}function pQ(e,t,n){for(let i=n??0;i<e.length;i++)if(hs(t,e.charCodeAt(i)))return i;return-1}function m0(e,t){let n=0;if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i];t(s,i)&&n++}return n}function Cn(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;if(i<n){const s=e.slice(0,i);for(i++;i<n;){const o=e[i];t(o)&&s.push(o),i++}return s}}return e}function jR(e,t){let n=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[n]=e[i],n++);e.length=n}function jp(e){e.length=0}function hr(e,t){let n;if(e!==void 0){n=[];for(let i=0;i<e.length;i++)n.push(t(e[i],i))}return n}function*oD(e,t){for(const n of e)yield t(n)}function nl(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const i=e[n],s=t(i,n);if(i!==s){const o=e.slice(0,n);for(o.push(s),n++;n<e.length;n++)o.push(t(e[n],n));return o}}return e}function Bp(e){const t=[];for(let n=0;n<e.length;n++){const i=e[n];i&&(cs(i)?Fn(t,i):t.push(i))}return t}function wa(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s&&(cs(s)?n=Fn(n,s):n=Dr(n,s))}return n??Ue}function cD(e,t){const n=[];if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s&&(cs(s)?Fn(n,s):n.push(s))}return n}function*BR(e,t){for(const n of e){const i=t(n);i&&(yield*i)}}function dQ(e,t){let n;if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i],o=t(s,i);(n||s!==o||cs(o))&&(n||(n=e.slice(0,i)),cs(o)?Fn(n,o):n.push(o))}return n??e}function JR(e,t){const n=[];for(let i=0;i<e.length;i++){const s=t(e[i],i);if(s===void 0)return;n.push(s)}return n}function Mi(e,t){const n=[];if(e!==void 0)for(let i=0;i<e.length;i++){const s=t(e[i],i);s!==void 0&&n.push(s)}return n}function*gy(e,t){for(const n of e){const i=t(n);i!==void 0&&(yield i)}}function lD(e,t,n){if(e.has(t))return e.get(t);const i=n();return e.set(t,i),i}function g0(e,t){return e.has(t)?!1:(e.add(t),!0)}function*mQ(e){yield e}function zR(e,t,n){let i;if(e!==void 0){i=[];const s=e.length;let o,c,_=0,u=0;for(;_<s;){for(;u<s;){const g=e[u];if(c=t(g,u),u===0)o=c;else if(c!==o)break;u++}if(_<u){const g=n(e.slice(_,u),o,_,u);g&&i.push(g),_=u}o=c,u++}}return i}function gQ(e,t){if(e===void 0)return;const n=new Map;return e.forEach((i,s)=>{const[o,c]=t(s,i);n.set(o,c)}),n}function ot(e,t){if(e!==void 0)if(t!==void 0){for(let n=0;n<e.length;n++)if(t(e[n]))return!0}else return e.length>0;return!1}function WR(e,t,n){let i;for(let s=0;s<e.length;s++)t(e[s])?i=i===void 0?s:i:i!==void 0&&(n(i,s),i=void 0);i!==void 0&&n(i,e.length)}function Wi(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function YFe(e,t){return t}function s7(e){return e.map(YFe)}function ZFe(e,t,n){const i=s7(e);tOe(e,i,n);let s=e[i[0]];const o=[i[0]];for(let c=1;c<i.length;c++){const _=i[c],u=e[_];t(s,u)||(o.push(_),s=u)}return o.sort(),o.map(c=>e[c])}function KFe(e,t){const n=[];for(let i=0;i<e.length;i++)cp(n,e[i],t);return n}function Tb(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?ZFe(e,t,n):KFe(e,t)}function eOe(e,t){if(e.length===0)return Ue;let n=e[0];const i=[n];for(let s=1;s<e.length;s++){const o=e[s];switch(t(o,n)){case!0:case 0:continue;case-1:return E.fail("Array is unsorted.")}i.push(n=o)}return i}function UR(){return[]}function hy(e,t,n,i,s){if(e.length===0)return e.push(t),!0;const o=vy(e,t,To,n);if(o<0){if(i&&!s){const c=~o;if(c>0&&i(t,e[c-1]))return!1;if(c<e.length&&i(t,e[c]))return e.splice(c,1,t),!0}return e.splice(~o,0,t),!0}return s?(e.splice(o,0,t),!0):!1}function uD(e,t,n){return eOe(nf(e,t),n??t??vu)}function Nf(e,t,n=Ty){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!n(e[i],t[i],i))return!1;return!0}function $P(e){let t;if(e!==void 0)for(let n=0;n<e.length;n++){const i=e[n];(t??!i)&&(t??(t=e.slice(0,n)),i&&t.push(i))}return t??e}function hQ(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;const i=[];e:for(let s=0,o=0;o<t.length;o++){o>0&&E.assertGreaterThanOrEqual(n(t[o],t[o-1]),0);t:for(const c=s;s<e.length;s++)switch(s>c&&E.assertGreaterThanOrEqual(n(e[s],e[s-1]),0),n(t[o],e[s])){case-1:i.push(t[o]);continue e;case 0:continue e;case 1:continue t}}return i}function Dr(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function KT(e,t){return e===void 0?t:t===void 0?e:cs(e)?cs(t)?Wi(e,t):Dr(e,t):cs(t)?Dr(t,e):[e,t]}function yQ(e,t){return t<0?e.length+t:t}function Fn(e,t,n,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,i);n=n===void 0?0:yQ(t,n),i=i===void 0?t.length:yQ(t,i);for(let s=n;s<i&&s<t.length;s++)t[s]!==void 0&&e.push(t[s]);return e}function cp(e,t,n){return hs(e,t,n)?!1:(e.push(t),!0)}function bh(e,t,n){return e!==void 0?(cp(e,t,n),e):[t]}function tOe(e,t,n){t.sort((i,s)=>n(e[i],e[s])||xo(i,s))}function nf(e,t){return e.length===0?Ue:e.slice().sort(t)}function*VR(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function qR(e,t,n,i){for(;n<i;){if(e[n]!==t[n])return!1;n++}return!0}var yy=Array.prototype.at?(e,t)=>e?.at(t):(e,t)=>{if(e!==void 0&&(t=yQ(e,t),t<e.length))return e[t]};function il(e){return e===void 0||e.length===0?void 0:e[0]}function a7(e){if(e!==void 0)for(const t of e)return t}function Pa(e){return E.assert(e.length!==0),e[0]}function HR(e){for(const t of e)return t;E.fail("iterator is empty")}function Fo(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function ha(e){return E.assert(e.length!==0),e[e.length-1]}function Pg(e){return e!==void 0&&e.length===1?e[0]:void 0}function GR(e){return E.checkDefined(Pg(e))}function Xm(e){return e!==void 0&&e.length===1?e[0]:e}function $R(e,t,n){const i=e.slice(0);return i[t]=n,i}function vy(e,t,n,i,s){return ex(e,n(t),n,i,s)}function ex(e,t,n,i,s){if(!ot(e))return-1;let o=s??0,c=e.length-1;for(;o<=c;){const _=o+(c-o>>1),u=n(e[_],_);switch(i(u,t)){case-1:o=_+1;break;case 0:return _;case 1:c=_-1;break}}return~o}function Qu(e,t,n,i,s){if(e&&e.length>0){const o=e.length;if(o>0){let c=i===void 0||i<0?0:i;const _=s===void 0||c+s>o-1?o-1:c+s;let u;for(arguments.length<=2?(u=e[c],c++):u=n;c<=_;)u=t(u,e[c],c),c++;return u}}return n}var U1=Object.prototype.hasOwnProperty;function io(e,t){return U1.call(e,t)}function XP(e,t){return U1.call(e,t)?e[t]:void 0}function lm(e){const t=[];for(const n in e)U1.call(e,n)&&t.push(n);return t}function zge(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const i of n)cp(t,i)}while(e=Object.getPrototypeOf(e));return t}function tx(e){const t=[];for(const n in e)U1.call(e,n)&&t.push(e[n]);return t}function vQ(e,t){const n=new Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}function as(e,t){const n=[];for(const i of e)n.push(t?t(i):i);return n}function Y2(e,...t){for(const n of t)if(n!==void 0)for(const i in n)io(n,i)&&(e[i]=n[i]);return e}function bQ(e,t,n=Ty){if(e===t)return!0;if(!e||!t)return!1;for(const i in e)if(U1.call(e,i)&&(!U1.call(t,i)||!n(e[i],t[i])))return!1;for(const i in t)if(U1.call(t,i)&&!U1.call(e,i))return!1;return!0}function CC(e,t,n=To){const i=new Map;for(let s=0;s<e.length;s++){const o=e[s],c=t(o);c!==void 0&&i.set(c,n(o))}return i}function SQ(e,t,n=To){const i=[];for(let s=0;s<e.length;s++){const o=e[s];i[t(o)]=n(o)}return i}function QP(e,t,n=To){const i=Jp();for(let s=0;s<e.length;s++){const o=e[s];i.add(t(o),n(o))}return i}function EC(e,t,n=To){return as(QP(e,t).values(),n)}function XR(e,t){const n={};if(e!==void 0)for(let i=0;i<e.length;i++){const s=e[i],o=`${t(s)}`;(n[o]??(n[o]=[])).push(s)}return n}function TQ(e){const t={};for(const n in e)U1.call(e,n)&&(t[n]=e[n]);return t}function QR(e,t){const n={};for(const i in t)U1.call(t,i)&&(n[i]=t[i]);for(const i in e)U1.call(e,i)&&(n[i]=e[i]);return n}function YR(e,t){for(const n in t)U1.call(t,n)&&(e[n]=t[n])}function Rs(e,t){return t?.bind(e)}function Jp(){const e=new Map;return e.add=rOe,e.remove=nOe,e}function rOe(e,t){let n=this.get(e);return n!==void 0?n.push(t):this.set(e,n=[t]),n}function nOe(e,t){const n=this.get(e);n!==void 0&&(nx(n,t),n.length||this.delete(e))}function YP(e){const t=e?.slice()??[];let n=0;function i(){return n===t.length}function s(...c){t.push(...c)}function o(){if(i())throw new Error("Queue is empty");const c=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){const _=t.length-n;t.copyWithin(0,n),t.length=_,n=0}return c}return{enqueue:s,dequeue:o,isEmpty:i}}function ZR(e,t){const n=new Map;let i=0;function*s(){for(const c of n.values())cs(c)?yield*c:yield c}const o={has(c){const _=e(c);if(!n.has(_))return!1;const u=n.get(_);return cs(u)?hs(u,c,t):t(u,c)},add(c){const _=e(c);if(n.has(_)){const u=n.get(_);if(cs(u))hs(u,c,t)||(u.push(c),i++);else{const g=u;t(g,c)||(n.set(_,[g,c]),i++)}}else n.set(_,c),i++;return this},delete(c){const _=e(c);if(!n.has(_))return!1;const u=n.get(_);if(cs(u)){for(let g=0;g<u.length;g++)if(t(u[g],c))return u.length===1?n.delete(_):u.length===2?n.set(_,u[1-g]):Vge(u,g),i--,!0}else if(t(u,c))return n.delete(_),i--,!0;return!1},clear(){n.clear(),i=0},get size(){return i},forEach(c){for(const _ of as(n.values()))if(cs(_))for(const u of _)c(u,u,o);else{const u=_;c(u,u,o)}},keys(){return s()},values(){return s()},*entries(){for(const c of s())yield[c,c]},[Symbol.iterator]:()=>s(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return o}function cs(e){return Array.isArray(e)}function rx(e){return cs(e)?e:[e]}function ys(e){return typeof e=="string"}function by(e){return typeof e=="number"}function zn(e,t){return e!==void 0&&t(e)?e:void 0}function Gs(e,t){return e!==void 0&&t(e)?e:E.fail(`Invalid cast. The supplied value ${e} did not pass the test '${E.getFunctionName(t)}'.`)}function Xa(e){}function Sh(){return!1}function xb(){return!0}function kb(){}function To(e){return e}function iOe(e){return e.toLowerCase()}var Wge=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function Sy(e){return Wge.test(e)?e.replace(Wge,iOe):e}function $s(){throw new Error("Not implemented")}function Yu(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function um(e){const t=new Map;return n=>{const i=`${typeof n}:${n}`;let s=t.get(i);return s===void 0&&!t.has(i)&&(s=e(n),t.set(i,s)),s}}var xQ=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(xQ||{});function Ty(e,t){return e===t}function xy(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function Cb(e,t){return Ty(e,t)}function Uge(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function xo(e,t){return Uge(e,t)}function o7(e,t){return xo(e?.start,t?.start)||xo(e?.length,t?.length)}function KR(e,t,n){for(let i=0;i<e.length;i++)t=Math.max(t,n(e[i]));return t}function ej(e,t){return Qu(e,(n,i)=>t(n,i)===-1?n:i)}function ZP(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function kQ(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function vu(e,t){return Uge(e,t)}function DC(e){return e?ZP:vu}var sOe=(()=>{return t;function e(n,i,s){if(n===i)return 0;if(n===void 0)return-1;if(i===void 0)return 1;const o=s(n,i);return o<0?-1:o>0?1:0}function t(n){const i=new Intl.Collator(n,{usage:"sort",sensitivity:"variant",numeric:!0}).compare;return(s,o)=>e(s,o,i)}})(),tj,rj;function CQ(){return rj}function EQ(e){rj!==e&&(rj=e,tj=void 0)}function KP(e,t){return tj??(tj=sOe(rj)),tj(e,t)}function DQ(e,t,n,i){return e===t?0:e===void 0?-1:t===void 0?1:i(e[n],t[n])}function V1(e,t){return xo(e?1:0,t?1:0)}function Eb(e,t,n){const i=Math.max(2,Math.floor(e.length*.34));let s=Math.floor(e.length*.4)+1,o;for(const c of t){const _=n(c);if(_!==void 0&&Math.abs(_.length-e.length)<=i){if(_===e||_.length<3&&_.toLowerCase()!==e.toLowerCase())continue;const u=aOe(e,_,s-.1);if(u===void 0)continue;E.assert(u<s),s=u,o=c}}return o}function aOe(e,t,n){let i=new Array(t.length+1),s=new Array(t.length+1);const o=n+.01;for(let _=0;_<=t.length;_++)i[_]=_;for(let _=1;_<=e.length;_++){const u=e.charCodeAt(_-1),g=Math.ceil(_>n?_-n:1),m=Math.floor(t.length>n+_?n+_:t.length);s[0]=_;let h=_;for(let T=1;T<g;T++)s[T]=o;for(let T=g;T<=m;T++){const k=e[_-1].toLowerCase()===t[T-1].toLowerCase()?i[T-1]+.1:i[T-1]+2,D=u===t.charCodeAt(T-1)?i[T-1]:Math.min(i[T]+1,s[T-1]+1,k);s[T]=D,h=Math.min(h,D)}for(let T=m+1;T<=t.length;T++)s[T]=o;if(h>n)return;const S=i;i=s,s=S}const c=i[t.length];return c>n?void 0:c}function Oo(e,t,n){const i=e.length-t.length;return i>=0&&(n?xy(e.slice(i),t):e.indexOf(t,i)===i)}function wC(e,t){return Oo(e,t)?e.slice(0,e.length-t.length):e}function wQ(e,t){return Oo(e,t)?e.slice(0,e.length-t.length):void 0}function nj(e){let t=e.length;for(let n=t-1;n>0;n--){let i=e.charCodeAt(n);if(i>=48&&i<=57)do--n,i=e.charCodeAt(n);while(n>0&&i>=48&&i<=57);else if(n>4&&(i===110||i===78)){if(--n,i=e.charCodeAt(n),i!==105&&i!==73||(--n,i=e.charCodeAt(n),i!==109&&i!==77))break;--n,i=e.charCodeAt(n)}else break;if(i!==45&&i!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function _D(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return ky(e,n),!0;return!1}function ky(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function Vge(e,t){e[t]=e[e.length-1],e.pop()}function nx(e,t){return oOe(e,n=>n===t)}function oOe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return Vge(e,n),!0;return!1}function au(e){return e?To:Sy}function PQ({prefix:e,suffix:t}){return`${e}*${t}`}function NQ(e,t){return E.assert(c7(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function ij(e,t,n){let i,s=-1;for(let o=0;o<e.length;o++){const c=e[o],_=t(c);_.prefix.length>s&&c7(_,n)&&(s=_.prefix.length,i=c)}return i}function Hi(e,t,n){return n?xy(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function fD(e,t){return Hi(e,t)?e.substr(t.length):e}function sj(e,t,n=To){return Hi(n(e),n(t))?e.substring(t.length):void 0}function c7({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Hi(n,e)&&Oo(n,t)}function l7(e,t){return n=>e(n)&&t(n)}function sf(...e){return(...t)=>{let n;for(const i of e)if(n=i(...t),n)return n;return n}}function u7(e){return(...t)=>!e(...t)}function qge(e){}function ix(e){return e===void 0?void 0:[e]}function _7(e,t,n,i,s,o){o??(o=Xa);let c=0,_=0;const u=e.length,g=t.length;let m=!1;for(;c<u&&_<g;){const h=e[c],S=t[_],T=n(h,S);T===-1?(i(h),c++,m=!0):T===1?(s(S),_++,m=!0):(o(S,h),c++,_++)}for(;c<u;)i(e[c++]),m=!0;for(;_<g;)s(t[_++]),m=!0;return m}function AQ(e){const t=[];return Hge(e,t,void 0,0),t}function Hge(e,t,n,i){for(const s of e[i]){let o;n?(o=n.slice(),o.push(s)):o=[s],i===e.length-1?t.push(o):Hge(e,t,o,i+1)}}function aj(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;return e.slice(0,i)}}function IQ(e,t){if(e!==void 0){const n=e.length;let i=0;for(;i<n&&t(e[i]);)i++;return e.slice(i)}}function oj(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof Age<"u"}var FQ=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(FQ||{}),E;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(Je){return e.currentLogLevel<=Je}e.shouldLog=n;function i(Je,ft){e.loggingHost&&n(Je)&&e.loggingHost.log(Je,ft)}function s(Je){i(3,Je)}e.log=s,(Je=>{function ft(qn){i(1,qn)}Je.error=ft;function tr(qn){i(2,qn)}Je.warn=tr;function Hr(qn){i(3,qn)}Je.log=Hr;function Wn(qn){i(4,qn)}Je.trace=Wn})(s=e.log||(e.log={}));const o={};function c(){return t}e.getAssertionLevel=c;function _(Je){const ft=t;if(t=Je,Je>ft)for(const tr of lm(o)){const Hr=o[tr];Hr!==void 0&&e[tr]!==Hr.assertion&&Je>=Hr.level&&(e[tr]=Hr,o[tr]=void 0)}}e.setAssertionLevel=_;function u(Je){return t>=Je}e.shouldAssert=u;function g(Je,ft){return u(Je)?!0:(o[ft]={level:Je,assertion:e[ft]},e[ft]=Xa,!1)}function m(Je,ft){debugger;const tr=new Error(Je?`Debug Failure. ${Je}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(tr,ft||m),tr}e.fail=m;function h(Je,ft,tr){return m(`${ft||"Unexpected node."}\r
16
3
  Node ${be(Je.kind)} was unexpected.`,tr||h)}e.failBadSyntaxKind=h;function S(Je,ft,tr,Hr){Je||(ft=ft?`False expression: ${ft}`:"False expression.",tr&&(ft+=`\r
17
4
  Verbose Debug Information: `+(typeof tr=="string"?tr:tr())),m(ft,Hr||S))}e.assert=S;function T(Je,ft,tr,Hr,Wn){if(Je!==ft){const qn=tr?Hr?`${tr} ${Hr}`:tr:"";m(`Expected ${Je} === ${ft}. ${qn}`,Wn||T)}}e.assertEqual=T;function k(Je,ft,tr,Hr){Je>=ft&&m(`Expected ${Je} < ${ft}. ${tr||""}`,Hr||k)}e.assertLessThan=k;function D(Je,ft,tr){Je>ft&&m(`Expected ${Je} <= ${ft}`,tr||D)}e.assertLessThanOrEqual=D;function P(Je,ft,tr){Je<ft&&m(`Expected ${Je} >= ${ft}`,tr||P)}e.assertGreaterThanOrEqual=P;function A(Je,ft,tr){Je==null&&m(ft,tr||A)}e.assertIsDefined=A;function O(Je,ft,tr){return A(Je,ft,tr||O),Je}e.checkDefined=O;function F(Je,ft,tr){for(const Hr of Je)A(Hr,ft,tr||F)}e.assertEachIsDefined=F;function R(Je,ft,tr){return F(Je,ft,tr||R),Je}e.checkEachDefined=R;function B(Je,ft="Illegal value:",tr){const Hr=typeof Je=="object"&&io(Je,"kind")&&io(Je,"pos")?"SyntaxKind: "+be(Je.kind):JSON.stringify(Je);return m(`${ft} ${Hr}`,tr||B)}e.assertNever=B;function U(Je,ft,tr,Hr){g(1,"assertEachNode")&&S(ft===void 0||Pi(Je,ft),tr||"Unexpected node.",()=>`Node array did not pass test '${se(ft)}'.`,Hr||U)}e.assertEachNode=U;function $(Je,ft,tr,Hr){g(1,"assertNode")&&S(Je!==void 0&&(ft===void 0||ft(Je)),tr||"Unexpected node.",()=>`Node ${be(Je?.kind)} did not pass test '${se(ft)}'.`,Hr||$)}e.assertNode=$;function W(Je,ft,tr,Hr){g(1,"assertNotNode")&&S(Je===void 0||ft===void 0||!ft(Je),tr||"Unexpected node.",()=>`Node ${be(Je.kind)} should not have passed test '${se(ft)}'.`,Hr||W)}e.assertNotNode=W;function _e(Je,ft,tr,Hr){g(1,"assertOptionalNode")&&S(ft===void 0||Je===void 0||ft(Je),tr||"Unexpected node.",()=>`Node ${be(Je?.kind)} did not pass test '${se(ft)}'.`,Hr||_e)}e.assertOptionalNode=_e;function K(Je,ft,tr,Hr){g(1,"assertOptionalToken")&&S(ft===void 0||Je===void 0||Je.kind===ft,tr||"Unexpected node.",()=>`Node ${be(Je?.kind)} was not a '${be(ft)}' token.`,Hr||K)}e.assertOptionalToken=K;function V(Je,ft,tr){g(1,"assertMissingNode")&&S(Je===void 0,ft||"Unexpected node.",()=>`Node ${be(Je.kind)} was unexpected'.`,tr||V)}e.assertMissingNode=V;function ae(Je){}e.type=ae;function se(Je){if(typeof Je!="function")return"";if(io(Je,"name"))return Je.name;{const ft=Function.prototype.toString.call(Je),tr=/^function\s+([\w$]+)\s*\(/.exec(ft);return tr?tr[1]:""}}e.getFunctionName=se;function ce(Je){return`{ name: ${ki(Je.escapedName)}; flags: ${ne(Je.flags)}; declarations: ${hr(Je.declarations,ft=>be(ft.kind))} }`}e.formatSymbol=ce;function fe(Je=0,ft,tr){const Hr=q(ft);if(Je===0)return Hr.length>0&&Hr[0][0]===0?Hr[0][1]:"0";if(tr){const Wn=[];let qn=Je;for(const[Di,Ns]of Hr){if(Di>Je)break;Di!==0&&Di&Je&&(Wn.push(Ns),qn&=~Di)}if(qn===0)return Wn.join("|")}else for(const[Wn,qn]of Hr)if(Wn===Je)return qn;return Je.toString()}e.formatEnum=fe;const he=new Map;function q(Je){const ft=he.get(Je);if(ft)return ft;const tr=[];for(const Wn in Je){const qn=Je[Wn];typeof qn=="number"&&tr.push([qn,Wn])}const Hr=nf(tr,(Wn,qn)=>xo(Wn[0],qn[0]));return he.set(Je,Hr),Hr}function be(Je){return fe(Je,_j,!1)}e.formatSyntaxKind=be;function je(Je){return fe(Je,Cj,!1)}e.formatSnippetKind=je;function me(Je){return fe(Je,xj,!1)}e.formatScriptKind=me;function Z(Je){return fe(Je,fj,!0)}e.formatNodeFlags=Z;function pe(Je){return fe(Je,vj,!0)}e.formatNodeCheckFlags=pe;function Te(Je){return fe(Je,pj,!0)}e.formatModifierFlags=Te;function Fe(Je){return fe(Je,kj,!0)}e.formatTransformFlags=Fe;function Ye(Je){return fe(Je,Ej,!0)}e.formatEmitFlags=Ye;function ne(Je){return fe(Je,yj,!0)}e.formatSymbolFlags=ne;function Se(Je){return fe(Je,bj,!0)}e.formatTypeFlags=Se;function ie(Je){return fe(Je,Tj,!0)}e.formatSignatureFlags=ie;function Ne(Je){return fe(Je,Sj,!0)}e.formatObjectFlags=Ne;function Ee(Je){return fe(Je,p7,!0)}e.formatFlowFlags=Ee;function Ce(Je){return fe(Je,dj,!0)}e.formatRelationComparisonResult=Ce;function qe(Je){return fe(Je,UW,!0)}e.formatCheckMode=qe;function St(Je){return fe(Je,VW,!0)}e.formatSignatureCheckMode=St;function Bt(Je){return fe(Je,WW,!0)}e.formatTypeFacts=Bt;let rr=!1,Nr;function st(Je){"__debugFlowFlags"in Je||Object.defineProperties(Je,{__tsDebuggerDisplay:{value(){const ft=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",tr=this.flags&-2048;return`${ft}${tr?` (${Ee(tr)})`:""}`}},__debugFlowFlags:{get(){return fe(this.flags,p7,!0)}},__debugToString:{value(){return pi(this)}}})}function Wt(Je){return rr&&(typeof Object.setPrototypeOf=="function"?(Nr||(Nr=Object.create(Object.prototype),st(Nr)),Object.setPrototypeOf(Je,Nr)):st(Je)),Je}e.attachFlowNodeDebugInfo=Wt;let zr;function fi(Je){"__tsDebuggerDisplay"in Je||Object.defineProperties(Je,{__tsDebuggerDisplay:{value(ft){return ft=String(ft).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${ft}`}}})}function Ui(Je){rr&&(typeof Object.setPrototypeOf=="function"?(zr||(zr=Object.create(Array.prototype),fi(zr)),Object.setPrototypeOf(Je,zr)):fi(Je))}e.attachNodeArrayDebugInfo=Ui;function Dt(){if(rr)return;const Je=new WeakMap,ft=new WeakMap;Object.defineProperties(lu.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const Hr=this.flags&33554432?"TransientSymbol":"Symbol",Wn=this.flags&-33554433;return`${Hr} '${dc(this)}'${Wn?` (${ne(Wn)})`:""}`}},__debugFlags:{get(){return ne(this.flags)}}}),Object.defineProperties(lu.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const Hr=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",Wn=this.flags&524288?this.objectFlags&-1344:0;return`${Hr}${this.symbol?` '${dc(this.symbol)}'`:""}${Wn?` (${Ne(Wn)})`:""}`}},__debugFlags:{get(){return Se(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?Ne(this.objectFlags):""}},__debugTypeToString:{value(){let Hr=Je.get(this);return Hr===void 0&&(Hr=this.checker.typeToString(this),Je.set(this,Hr)),Hr}}}),Object.defineProperties(lu.getSignatureConstructor().prototype,{__debugFlags:{get(){return ie(this.flags)}},__debugSignatureToString:{value(){var Hr;return(Hr=this.checker)==null?void 0:Hr.signatureToString(this)}}});const tr=[lu.getNodeConstructor(),lu.getIdentifierConstructor(),lu.getTokenConstructor(),lu.getSourceFileConstructor()];for(const Hr of tr)io(Hr.prototype,"__debugKind")||Object.defineProperties(Hr.prototype,{__tsDebuggerDisplay:{value(){return`${qo(this)?"GeneratedIdentifier":Me(this)?`Identifier '${In(this)}'`:Oi(this)?`PrivateIdentifier '${In(this)}'`:fa(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:O_(this)?`NumericLiteral ${this.text}`:y6(this)?`BigIntLiteral ${this.text}n`:zo(this)?"TypeParameterDeclaration":Li(this)?"ParameterDeclaration":lc(this)?"ConstructorDeclaration":bp(this)?"GetAccessorDeclaration":X_(this)?"SetAccessorDeclaration":Xx(this)?"CallSignatureDeclaration":B4(this)?"ConstructSignatureDeclaration":Yy(this)?"IndexSignatureDeclaration":Qx(this)?"TypePredicateNode":mf(this)?"TypeReferenceNode":sg(this)?"FunctionTypeNode":v6(this)?"ConstructorTypeNode":Yb(this)?"TypeQueryNode":d_(this)?"TypeLiteralNode":XN(this)?"ArrayTypeNode":Yx(this)?"TupleTypeNode":MF(this)?"OptionalTypeNode":RF(this)?"RestTypeNode":A0(this)?"UnionTypeNode":Zx(this)?"IntersectionTypeNode":Zb(this)?"ConditionalTypeNode":wS(this)?"InferTypeNode":PS(this)?"ParenthesizedTypeNode":J4(this)?"ThisTypeNode":cv(this)?"TypeOperatorNode":Kb(this)?"IndexedAccessTypeNode":NS(this)?"MappedTypeNode":I0(this)?"LiteralTypeNode":b6(this)?"NamedTupleMember":Cm(this)?"ImportTypeNode":be(this.kind)}${this.flags?` (${Z(this.flags)})`:""}`}},__debugKind:{get(){return be(this.kind)}},__debugNodeFlags:{get(){return Z(this.flags)}},__debugModifierFlags:{get(){return Te(hee(this))}},__debugTransformFlags:{get(){return Fe(this.transformFlags)}},__debugIsParseTreeNode:{get(){return PD(this)}},__debugEmitFlags:{get(){return Ye(Na(this))}},__debugGetText:{value(Wn){if(go(this))return"";let qn=ft.get(this);if(qn===void 0){const Di=Ss(this),Ns=Di&&kr(Di);qn=Ns?Ib(Ns,Di,Wn):"",ft.set(this,qn)}return qn}}});rr=!0}e.enableDebugInfo=Dt;function Rn(Je){const ft=Je&7;let tr=ft===0?"in out":ft===3?"[bivariant]":ft===2?"in":ft===1?"out":ft===4?"[independent]":"";return Je&8?tr+=" (unmeasurable)":Je&16&&(tr+=" (unreliable)"),tr}e.formatVariance=Rn;class ci{__debugToString(){var ft;switch(this.kind){case 3:return((ft=this.debugInfo)==null?void 0:ft.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return ZT(this.sources,this.targets||hr(this.sources,()=>"any"),(tr,Hr)=>`${tr.__debugTypeToString()} -> ${typeof Hr=="string"?Hr:Hr.__debugTypeToString()}`).join(", ");case 2:return ZT(this.sources,this.targets,(tr,Hr)=>`${tr.__debugTypeToString()} -> ${Hr().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
18
5
  `).join(`
@@ -444,10 +431,6 @@ Project '${_.projectName}' (${Yw[_.projectKind]}) ${o}
444
431
  `,o++};this.projectService.externalProjects.forEach(c),this.projectService.configuredProjects.forEach(c),this.projectService.inferredProjects.forEach(c)}}this.logger.msg(s,"Err")}send(t){if(t.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${Cv(t)}`);return}this.writeMessage(t)}writeMessage(t){const n=Dfe(t,this.logger,this.byteLength,this.host.newLine);this.host.write(n)}event(t,n){this.send(wfe(n,t))}doOutput(t,n,i,s,o,c){const _={seq:0,type:"response",command:n,request_seq:i,success:s,performanceData:o&&s3e(o)};if(s){let u;if(cs(t))_.body=t,u=t.metadata,delete t.metadata;else if(typeof t=="object")if(t.metadata){const{metadata:g,...m}=t;_.body=m,u=g}else _.body=t;else _.body=t;u&&(_.metadata=u)}else E.assert(t===void 0);c&&(_.message=c),this.send(_)}semanticCheck(t,n){var i,s;const o=fo();(i=cn)==null||i.push(cn.Phase.Session,"semanticCheck",{file:t,configFilePath:n.canonicalConfigFilePath});const c=$Pe(n,t)?wl:n.getLanguageService().getSemanticDiagnostics(t).filter(_=>!!_.file);this.sendDiagnosticsEvent(t,n,c,"semanticDiag",o),(s=cn)==null||s.pop()}syntacticCheck(t,n){var i,s;const o=fo();(i=cn)==null||i.push(cn.Phase.Session,"syntacticCheck",{file:t,configFilePath:n.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,n,n.getLanguageService().getSyntacticDiagnostics(t),"syntaxDiag",o),(s=cn)==null||s.pop()}suggestionCheck(t,n){var i,s;const o=fo();(i=cn)==null||i.push(cn.Phase.Session,"suggestionCheck",{file:t,configFilePath:n.canonicalConfigFilePath}),this.sendDiagnosticsEvent(t,n,n.getLanguageService().getSuggestionDiagnostics(t),"suggestionDiag",o),(s=cn)==null||s.pop()}regionSemanticCheck(t,n,i){var s,o,c;const _=fo();(s=cn)==null||s.push(cn.Phase.Session,"regionSemanticCheck",{file:t,configFilePath:n.canonicalConfigFilePath});let u;if(!this.shouldDoRegionCheck(t)||!(u=n.getLanguageService().getRegionSemanticDiagnostics(t,i))){(o=cn)==null||o.pop();return}this.sendDiagnosticsEvent(t,n,u.diagnostics,"regionSemanticDiag",_,u.spans),(c=cn)==null||c.pop()}shouldDoRegionCheck(t){var n;const i=(n=this.projectService.getScriptInfoForNormalizedPath(t))==null?void 0:n.textStorage.getLineInfo().getLineCount();return!!(i&&i>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(t,n,i,s,o,c){try{const _=E.checkDefined(n.getScriptInfo(t)),u=fo()-o,g={file:t,diagnostics:i.map(m=>XPe(t,n,m)),spans:c?.map(m=>Mm(m,_))};this.event(g,s),this.addDiagnosticsPerformanceData(t,s,u)}catch(_){this.logError(_,s)}}updateErrorCheck(t,n,i,s=!0){if(n.length===0)return;E.assert(!this.suppressDiagnosticEvents);const o=this.changeSeq,c=Math.min(i,200);let _=0;const u=()=>{if(_++,n.length>_)return t.delay("checkOne",c,m)},g=(h,S)=>{if(this.semanticCheck(h,S),this.changeSeq===o){if(this.getPreferences(h).disableSuggestions)return u();t.immediate("suggestionCheck",()=>{this.suggestionCheck(h,S),u()})}},m=()=>{if(this.changeSeq!==o)return;let h,S=n[_];if(ys(S)?S=this.toPendingErrorCheck(S):"ranges"in S&&(h=S.ranges,S=this.toPendingErrorCheck(S.file)),!S)return u();const{fileName:T,project:k}=S;if(ed(k),!!k.containsFile(T,s)&&(this.syntacticCheck(T,k),this.changeSeq===o)){if(k.projectService.serverMode!==0)return u();if(h)return t.immediate("regionSemanticCheck",()=>{const D=this.projectService.getScriptInfoForNormalizedPath(T);D&&this.regionSemanticCheck(T,k,h.map(P=>this.getRange({file:T,...P},D))),this.changeSeq===o&&t.immediate("semanticCheck",()=>g(T,k))});t.immediate("semanticCheck",()=>g(T,k))}};n.length>_&&this.changeSeq===o&&t.delay("checkOne",i,m)}cleanProjects(t,n){if(n){this.logger.info(`cleaning ${t}`);for(const i of n)i.getLanguageService(!1).cleanupSemanticCache(),i.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",as(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t);return i.getEncodedSyntacticClassifications(n,t)}getEncodedSemanticClassifications(t){const{file:n,project:i}=this.getFileAndProject(t),s=t.format==="2020"?"2020":"original";return i.getLanguageService().getEncodedSemanticClassifications(n,t,s)}getProject(t){return t===void 0?void 0:this.projectService.findProject(t)}getConfigFileAndProject(t){const n=this.getProject(t.projectFileName),i=ao(t.file);return{configFile:n&&n.hasConfigFile(i)?i:void 0,project:n}}getConfigFileDiagnostics(t,n,i){const s=n.getAllProjectErrors(),o=n.getLanguageService().getCompilerOptionsDiagnostics(),c=Cn(Wi(s,o),_=>!!_.file&&_.file.fileName===t);return i?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(c):hr(c,_=>Z8(_,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(t){return t.map(n=>({message:Am(n.messageText,this.host.newLine),start:n.start,length:n.length,category:K2(n),code:n.code,source:n.source,startLocation:n.file&&yE(Ws(n.file,n.start)),endLocation:n.file&&yE(Ws(n.file,n.start+n.length)),reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated,relatedInformation:hr(n.relatedInformation,QG)}))}getCompilerOptionsDiagnostics(t){const n=this.getProject(t.projectFileName);return this.convertToDiagnosticsWithLinePosition(Cn(n.getLanguageService().getCompilerOptionsDiagnostics(),i=>!i.file),void 0)}convertToDiagnosticsWithLinePosition(t,n){return t.map(i=>({message:Am(i.messageText,this.host.newLine),start:i.start,length:i.length,category:K2(i),code:i.code,source:i.source,startLocation:n&&n.positionToLineOffset(i.start),endLocation:n&&n.positionToLineOffset(i.start+i.length),reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated,relatedInformation:hr(i.relatedInformation,QG)}))}getDiagnosticsWorker(t,n,i,s){const{project:o,file:c}=this.getFileAndProject(t);if(n&&$Pe(o,c))return wl;const _=o.getScriptInfoForNormalizedPath(c),u=i(o,c);return s?this.convertToDiagnosticsWithLinePosition(u,_):u.map(g=>XPe(c,o,g))}getDefinition(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),c=this.mapDefinitionInfoLocations(s.getLanguageService().getDefinitionAtPosition(i,o)||wl,s);return n?this.mapDefinitionInfo(c,s):c.map(cQ.mapToOriginalLocation)}mapDefinitionInfoLocations(t,n){return t.map(i=>{const s=r3e(i,n);return s?{...s,containerKind:i.containerKind,containerName:i.containerName,kind:i.kind,name:i.name,failedAliasResolution:i.failedAliasResolution,...i.unverified&&{unverified:i.unverified}}:i})}getDefinitionAndBoundSpan(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),c=E.checkDefined(s.getScriptInfo(i)),_=s.getLanguageService().getDefinitionAndBoundSpan(i,o);if(!_||!_.definitions)return{definitions:wl,textSpan:void 0};const u=this.mapDefinitionInfoLocations(_.definitions,s),{textSpan:g}=_;return n?{definitions:this.mapDefinitionInfo(u,s),textSpan:Mm(g,c)}:{definitions:u.map(cQ.mapToOriginalLocation),textSpan:g}}findSourceDefinition(t){var n;const{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),c=s.getLanguageService().getDefinitionAtPosition(i,o);let _=this.mapDefinitionInfoLocations(c||wl,s).slice();if(this.projectService.serverMode===0&&(!ot(_,T=>ao(T.fileName)!==i&&!T.isAmbient)||ot(_,T=>!!T.failedAliasResolution))){const T=ZR(A=>A.textSpan.start,uq(this.host.useCaseSensitiveFileNames));_?.forEach(A=>T.add(A));const k=s.getNoDtsResolutionProject(i),D=k.getLanguageService(),P=(n=D.getDefinitionAtPosition(i,o,!0,!1))==null?void 0:n.filter(A=>ao(A.fileName)!==i);if(ot(P))for(const A of P){if(A.unverified){const O=h(A,s.getLanguageService().getProgram(),D.getProgram());if(ot(O)){for(const F of O)T.add(F);continue}}T.add(A)}else{const A=_.filter(O=>ao(O.fileName)!==i&&O.isAmbient);for(const O of ot(A)?A:m()){const F=g(O.fileName,i,k);if(!F)continue;const R=this.projectService.getOrCreateScriptInfoNotOpenedByClient(F,k.currentDirectory,k.directoryStructureHost,!1);if(!R)continue;k.containsScriptInfo(R)||(k.addRoot(R),k.updateGraph());const B=D.getProgram(),U=E.checkDefined(B.getSourceFile(F));for(const $ of S(O.name,U,B))T.add($)}}_=as(T.values())}return _=_.filter(T=>!T.isAmbient&&!T.failedAliasResolution),this.mapDefinitionInfo(_,s);function g(T,k,D){var P,A,O;const F=yF(T);if(F&&T.lastIndexOf(Yg)===F.topLevelNodeModulesIndex){const R=T.substring(0,F.packageRootIndex),B=(P=s.getModuleResolutionCache())==null?void 0:P.getPackageJsonInfoCache(),U=s.getCompilationSettings(),$=nw(Ki(R,s.getCurrentDirectory()),rw(B,s,U));if(!$)return;const W=IW($,{moduleResolution:2},s,s.getModuleResolutionCache()),_e=T.substring(F.topLevelPackageNameIndex+1,F.packageRootIndex),K=iw(TA(_e)),V=s.toPath(T);if(W&&ot(W,ae=>s.toPath(ae)===V))return(A=D.resolutionCache.resolveSingleModuleNameWithoutWatching(K,k).resolvedModule)==null?void 0:A.resolvedFileName;{const ae=T.substring(F.packageRootIndex+1),se=`${K}/${t_(ae)}`;return(O=D.resolutionCache.resolveSingleModuleNameWithoutWatching(se,k).resolvedModule)==null?void 0:O.resolvedFileName}}}function m(){const T=s.getLanguageService(),k=T.getProgram(),D=M_(k.getSourceFile(i),o);return(za(D)||Me(D))&&wo(D.parent)&&Iee(D,P=>{var A;if(P===D)return;const O=(A=T.getDefinitionAtPosition(i,P.getStart(),!0,!1))==null?void 0:A.filter(F=>ao(F.fileName)!==i&&F.isAmbient).map(F=>({fileName:F.fileName,name:dp(D)}));if(ot(O))return O})||wl}function h(T,k,D){var P;const A=D.getSourceFile(T.fileName);if(!A)return;const O=M_(k.getSourceFile(i),o),F=k.getTypeChecker().getSymbolAtLocation(O),R=F&&Jo(F,277);if(!R)return;const B=((P=R.propertyName)==null?void 0:P.text)||R.name.text;return S(B,A,D)}function S(T,k,D){const P=No.Core.getTopMostDeclarationNamesInFile(T,k);return Mi(P,A=>{const O=D.getTypeChecker().getSymbolAtLocation(A),F=e4(A);if(O&&F)return pE.createDefinitionInfo(F,D.getTypeChecker(),O,F,!0)})}}getEmitOutput(t){const{file:n,project:i}=this.getFileAndProject(t);if(!i.shouldEmitFile(i.getScriptInfo(n)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const s=i.getLanguageService().getEmitOutput(n);return t.richResponse?{...s,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(s.diagnostics):s.diagnostics.map(o=>Z8(o,!0))}:s}mapJSDocTagInfo(t,n,i){return t?t.map(s=>{var o;return{...s,text:i?this.mapDisplayParts(s.text,n):(o=s.text)==null?void 0:o.map(c=>c.text).join("")}}):[]}mapDisplayParts(t,n){return t?t.map(i=>i.kind!=="linkName"?i:{...i,target:this.toFileSpan(i.target.fileName,i.target.textSpan,n)}):[]}mapSignatureHelpItems(t,n,i){return t.map(s=>({...s,documentation:this.mapDisplayParts(s.documentation,n),parameters:s.parameters.map(o=>({...o,documentation:this.mapDisplayParts(o.documentation,n)})),tags:this.mapJSDocTagInfo(s.tags,n,i)}))}mapDefinitionInfo(t,n){return t.map(i=>({...this.toFileSpanWithContext(i.fileName,i.textSpan,i.contextSpan,n),...i.unverified&&{unverified:i.unverified}}))}static mapToOriginalLocation(t){return t.originalFileName?(E.assert(t.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...t,fileName:t.originalFileName,textSpan:t.originalTextSpan,targetFileName:t.fileName,targetTextSpan:t.textSpan,contextSpan:t.originalContextSpan,targetContextSpan:t.contextSpan}):t}toFileSpan(t,n,i){const s=i.getLanguageService(),o=s.toLineColumnOffset(t,n.start),c=s.toLineColumnOffset(t,ac(n));return{file:t,start:{line:o.line+1,offset:o.character+1},end:{line:c.line+1,offset:c.character+1}}}toFileSpanWithContext(t,n,i,s){const o=this.toFileSpan(t,n,s),c=i&&this.toFileSpan(t,i,s);return c?{...o,contextStart:c.start,contextEnd:c.end}:o}getTypeDefinition(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.getPositionInFile(t,n),o=this.mapDefinitionInfoLocations(i.getLanguageService().getTypeDefinitionAtPosition(n,s)||wl,i);return this.mapDefinitionInfo(o,i)}mapImplementationLocations(t,n){return t.map(i=>{const s=r3e(i,n);return s?{...s,kind:i.kind,displayParts:i.displayParts}:i})}getImplementation(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),c=this.mapImplementationLocations(s.getLanguageService().getImplementationAtPosition(i,o)||wl,s);return n?c.map(({fileName:_,textSpan:u,contextSpan:g})=>this.toFileSpanWithContext(_,u,g,s)):c.map(cQ.mapToOriginalLocation)}getSyntacticDiagnosticsSync(t){const{configFile:n}=this.getConfigFileAndProject(t);return n?wl:this.getDiagnosticsWorker(t,!1,(i,s)=>i.getLanguageService().getSyntacticDiagnostics(s),!!t.includeLinePosition)}getSemanticDiagnosticsSync(t){const{configFile:n,project:i}=this.getConfigFileAndProject(t);return n?this.getConfigFileDiagnostics(n,i,!!t.includeLinePosition):this.getDiagnosticsWorker(t,!0,(s,o)=>s.getLanguageService().getSemanticDiagnostics(o).filter(c=>!!c.file),!!t.includeLinePosition)}getSuggestionDiagnosticsSync(t){const{configFile:n}=this.getConfigFileAndProject(t);return n?wl:this.getDiagnosticsWorker(t,!0,(i,s)=>i.getLanguageService().getSuggestionDiagnostics(s),!!t.includeLinePosition)}getJsxClosingTag(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=i.getJsxClosingTagAtPosition(n,s);return o===void 0?void 0:{newText:o.newText,caretOffset:0}}getLinkedEditingRange(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=i.getLinkedEditingRangeAtPosition(n,s),c=this.projectService.getScriptInfoForNormalizedPath(n);if(!(c===void 0||o===void 0))return ltt(o,c)}getDocumentHighlights(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.getPositionInFile(t,i),c=s.getLanguageService().getDocumentHighlights(i,o,t.filesToSearch);return c?n?c.map(({fileName:_,highlightSpans:u})=>{const g=s.getScriptInfo(_);return{file:_,highlightSpans:u.map(({textSpan:m,kind:h,contextSpan:S})=>({...Nfe(m,S,g),kind:h}))}}):c:wl}provideInlayHints(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(n);return i.getLanguageService().provideInlayHints(n,t,this.getPreferences(n)).map(c=>{const{position:_,displayParts:u}=c;return{...c,position:s.positionToLineOffset(_),displayParts:u?.map(({text:g,span:m,file:h})=>{if(m){E.assertIsDefined(h,"Target file should be defined together with its span.");const S=this.projectService.getScriptInfo(h);return{text:g,span:{start:S.positionToLineOffset(m.start),end:S.positionToLineOffset(m.start+m.length),file:h}}}else return{text:g}})}})}mapCode(t){var n;const i=this.getHostFormatOptions(),s=this.getHostPreferences(),{file:o,languageService:c}=this.getFileAndLanguageServiceForSyntacticOperation(t),_=this.projectService.getScriptInfoForNormalizedPath(o),u=(n=t.mapping.focusLocations)==null?void 0:n.map(m=>m.map(h=>{const S=_.lineOffsetToPosition(h.start.line,h.start.offset),T=_.lineOffsetToPosition(h.end.line,h.end.offset);return{start:S,length:T-S}})),g=c.mapCode(o,t.mapping.contents,u,i,s);return this.mapTextChangesToCodeEdits(g)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(t){this.projectService.setCompilerOptionsForInferredProjects(t.options,t.projectRootPath)}getProjectInfo(t){return this.getProjectInfoWorker(t.file,t.projectFileName,t.needFileNameList,t.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(t,n,i,s,o){const{project:c}=this.getFileAndProjectWorker(t,n);return ed(c),{configFileName:c.getProjectName(),languageServiceDisabled:!c.languageServiceEnabled,fileNames:i?c.getFileNames(!1,o):void 0,configuredProjectInfo:s?this.getDefaultConfiguredProjectInfo(t):void 0}}getDefaultConfiguredProjectInfo(t){var n;const i=this.projectService.getScriptInfo(t);if(!i)return;const s=this.projectService.findDefaultConfiguredProjectWorker(i,3);if(!s)return;let o,c;return s.seenProjects.forEach((_,u)=>{u!==s.defaultProject&&(_!==3?(o??(o=[])).push(ao(u.getConfigFilePath())):(c??(c=[])).push(ao(u.getConfigFilePath())))}),(n=s.seenConfigs)==null||n.forEach(_=>(o??(o=[])).push(_)),{notMatchedByConfig:o,notInProject:c,defaultProject:s.defaultProject&&ao(s.defaultProject.getConfigFilePath())}}getRenameInfo(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.getPositionInFile(t,n),o=this.getPreferences(n);return i.getLanguageService().getRenameInfo(n,s,o)}getProjects(t,n,i){let s,o;if(t.projectFileName){const c=this.getProject(t.projectFileName);c&&(s=[c])}else{const c=n?this.projectService.getScriptInfoEnsuringProjectsUptoDate(t.file):this.projectService.getScriptInfo(t.file);if(c)n||this.projectService.ensureDefaultProjectForFile(c);else return i?wl:(this.projectService.logErrorForScriptInfoNotFound(t.file),Uh.ThrowNoProject());s=c.containingProjects,o=this.projectService.getSymlinkedProjects(c)}return s=Cn(s,c=>c.languageServiceEnabled&&!c.isOrphan()),!i&&(!s||!s.length)&&!o?(this.projectService.logErrorForScriptInfoNotFound(t.file??t.projectFileName),Uh.ThrowNoProject()):o?{projects:s,symLinkedProjects:o}:s}getDefaultProject(t){if(t.projectFileName){const i=this.getProject(t.projectFileName);if(i)return i;if(!t.file)return Uh.ThrowNoProject()}return this.projectService.getScriptInfo(t.file).getDefaultProject()}getRenameLocations(t,n){const i=ao(t.file),s=this.getPositionInFile(t,i),o=this.getProjects(t),c=this.getDefaultProject(t),_=this.getPreferences(i),u=this.mapRenameInfo(c.getLanguageService().getRenameInfo(i,s,_),E.checkDefined(this.projectService.getScriptInfo(i)));if(!u.canRename)return n?{info:u,locs:[]}:[];const g=ntt(o,c,{fileName:t.file,pos:s},!!t.findInStrings,!!t.findInComments,_,this.host.useCaseSensitiveFileNames);return n?{info:u,locs:this.toSpanGroups(g)}:g}mapRenameInfo(t,n){if(t.canRename){const{canRename:i,fileToRename:s,displayName:o,fullDisplayName:c,kind:_,kindModifiers:u,triggerSpan:g}=t;return{canRename:i,fileToRename:s,displayName:o,fullDisplayName:c,kind:_,kindModifiers:u,triggerSpan:Mm(g,n)}}else return t}toSpanGroups(t){const n=new Map;for(const{fileName:i,textSpan:s,contextSpan:o,originalContextSpan:c,originalTextSpan:_,originalFileName:u,...g}of t){let m=n.get(i);m||n.set(i,m={file:i,locs:[]});const h=E.checkDefined(this.projectService.getScriptInfo(i));m.locs.push({...Nfe(s,o,h),...g})}return as(n.values())}getReferences(t,n){const i=ao(t.file),s=this.getProjects(t),o=this.getPositionInFile(t,i),c=itt(s,this.getDefaultProject(t),{fileName:t.file,pos:o},this.host.useCaseSensitiveFileNames,this.logger);if(!n)return c;const _=this.getPreferences(i),u=this.getDefaultProject(t),g=u.getScriptInfoForNormalizedPath(i),m=u.getLanguageService().getQuickInfoAtPosition(i,o),h=m?T8(m.displayParts):"",S=m&&m.textSpan,T=S?g.positionToLineOffset(S.start).offset:0,k=S?g.getSnapshot().getText(S.start,ac(S)):"";return{refs:wa(c,P=>P.references.map(A=>o3e(this.projectService,A,_))),symbolName:k,symbolStartOffset:T,symbolDisplayString:h}}getFileReferences(t,n){const i=this.getProjects(t),s=ao(t.file),o=this.getPreferences(s),c={fileName:s,pos:0},_=Pfe(i,this.getDefaultProject(t),c,c,KPe,m=>(this.logger.info(`Finding references to file ${s} in project ${m.getProjectName()}`),m.getLanguageService().getFileReferences(s)));let u;if(cs(_))u=_;else{u=[];const m=YG(this.host.useCaseSensitiveFileNames);_.forEach(h=>{for(const S of h)m.has(S)||(u.push(S),m.add(S))})}return n?{refs:u.map(m=>o3e(this.projectService,m,o)),symbolName:`"${t.file}"`}:u}openClientFile(t,n,i,s){this.projectService.openClientFileWithNormalizedPath(t,n,i,!1,s)}getPosition(t,n){return t.position!==void 0?t.position:n.lineOffsetToPosition(t.line,t.offset)}getPositionInFile(t,n){const i=this.projectService.getScriptInfoForNormalizedPath(n);return this.getPosition(t,i)}getFileAndProject(t){return this.getFileAndProjectWorker(t.file,t.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(t){const{file:n,project:i}=this.getFileAndProject(t);return{file:n,languageService:i.getLanguageService(!1)}}getFileAndProjectWorker(t,n){const i=ao(t),s=this.getProject(n)||this.projectService.ensureDefaultProjectForFile(i);return{file:i,project:s}}getOutliningSpans(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getOutliningSpans(i);if(n){const c=this.projectService.getScriptInfoForNormalizedPath(i);return o.map(_=>({textSpan:Mm(_.textSpan,c),hintSpan:Mm(_.hintSpan,c),bannerText:_.bannerText,autoCollapse:_.autoCollapse,kind:_.kind}))}else return o}getTodoComments(t){const{file:n,project:i}=this.getFileAndProject(t);return i.getLanguageService().getTodoComments(n,t.descriptors)}getDocCommentTemplate(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getDocCommentTemplateAtPosition(n,s,this.getPreferences(n),this.getFormatOptions(n))}getSpanOfEnclosingComment(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.onlyMultiLine,o=this.getPositionInFile(t,n);return i.getSpanOfEnclosingComment(n,o,s)}getIndentation(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n),o=t.options?hE(t.options):this.getFormatOptions(n),c=i.getIndentationAtPosition(n,s,o);return{position:s,indentation:c}}getBreakpointStatement(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getBreakpointStatementAtPosition(n,s)}getNameOrDottedNameSpan(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.getNameOrDottedNameSpan(n,s,s)}isValidBraceCompletion(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.getPositionInFile(t,n);return i.isValidBraceCompletionAtPosition(n,s,t.openingBrace.charCodeAt(0))}getQuickInfoWorker(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getPreferences(i),_=s.getLanguageService().getQuickInfoAtPosition(i,this.getPosition(t,o),c.maximumHoverLength,t.verbosityLevel);if(!_)return;const u=!!c.displayPartsForJSDoc;if(n){const g=T8(_.displayParts);return{kind:_.kind,kindModifiers:_.kindModifiers,start:o.positionToLineOffset(_.textSpan.start),end:o.positionToLineOffset(ac(_.textSpan)),displayString:g,documentation:u?this.mapDisplayParts(_.documentation,s):T8(_.documentation),tags:this.mapJSDocTagInfo(_.tags,s,u),canIncreaseVerbosityLevel:_.canIncreaseVerbosityLevel}}else return u?_:{..._,tags:this.mapJSDocTagInfo(_.tags,s,!1)}}getFormattingEditsForRange(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(n),o=s.lineOffsetToPosition(t.line,t.offset),c=s.lineOffsetToPosition(t.endLine,t.endOffset),_=i.getFormattingEditsForRange(n,o,c,this.getFormatOptions(n));if(_)return _.map(u=>this.convertTextChangeToCodeEdit(u,s))}getFormattingEditsForRangeFull(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?hE(t.options):this.getFormatOptions(n);return i.getFormattingEditsForRange(n,t.position,t.endPosition,s)}getFormattingEditsForDocumentFull(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?hE(t.options):this.getFormatOptions(n);return i.getFormattingEditsForDocument(n,s)}getFormattingEditsAfterKeystrokeFull(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=t.options?hE(t.options):this.getFormatOptions(n);return i.getFormattingEditsAfterKeystroke(n,t.position,t.key,s)}getFormattingEditsAfterKeystroke(t){const{file:n,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(t),s=this.projectService.getScriptInfoForNormalizedPath(n),o=s.lineOffsetToPosition(t.line,t.offset),c=this.getFormatOptions(n),_=i.getFormattingEditsAfterKeystroke(n,o,t.key,c);if(t.key===`
445
432
  `&&(!_||_.length===0||ett(_,o))){const{lineText:u,absolutePosition:g}=s.textStorage.getAbsolutePositionAndLineText(t.line);if(u&&u.search("\\S")<0){const m=i.getIndentationAtPosition(n,o,c);let h=0,S,T;for(S=0,T=u.length;S<T;S++)if(u.charAt(S)===" ")h++;else if(u.charAt(S)===" ")h+=c.tabSize;else break;if(m!==h){const k=g+S;_.push({span:Rc(g,k),newText:ul.getIndentationString(m,c)})}}}if(_)return _.map(u=>({start:s.positionToLineOffset(u.span.start),end:s.positionToLineOffset(ac(u.span)),newText:u.newText?u.newText:""}))}getCompletions(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getPosition(t,o),_=s.getLanguageService().getCompletionsAtPosition(i,c,{..._fe(this.getPreferences(i)),triggerCharacter:t.triggerCharacter,triggerKind:t.triggerKind,includeExternalModuleExports:t.includeExternalModuleExports,includeInsertTextCompletions:t.includeInsertTextCompletions},s.projectService.getFormatCodeOptions(i));if(_===void 0)return;if(n==="completions-full")return _;const u=t.prefix||"",g=Mi(_.entries,h=>{if(_.isMemberCompletion||Hi(h.name.toLowerCase(),u.toLowerCase())){const S=h.replacementSpan?Mm(h.replacementSpan,o):void 0;return{...h,replacementSpan:S,hasAction:h.hasAction||void 0,symbol:void 0}}});return n==="completions"?(_.metadata&&(g.metadata=_.metadata),g):{..._,optionalReplacementSpan:_.optionalReplacementSpan&&Mm(_.optionalReplacementSpan,o),entries:g}}getCompletionEntryDetails(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getPosition(t,o),_=s.projectService.getFormatCodeOptions(i),u=!!this.getPreferences(i).displayPartsForJSDoc,g=Mi(t.entryNames,m=>{const{name:h,source:S,data:T}=typeof m=="string"?{name:m,source:void 0,data:void 0}:m;return s.getLanguageService().getCompletionEntryDetails(i,c,h,_,S,this.getPreferences(i),T?Gs(T,dtt):void 0)});return n?u?g:g.map(m=>({...m,tags:this.mapJSDocTagInfo(m.tags,s,!1)})):g.map(m=>({...m,codeActions:hr(m.codeActions,h=>this.mapCodeAction(h)),documentation:this.mapDisplayParts(m.documentation,s),tags:this.mapJSDocTagInfo(m.tags,s,u)}))}getCompileOnSaveAffectedFileList(t){const n=this.getProjects(t,!0,!0),i=this.projectService.getScriptInfo(t.file);return i?rtt(i,s=>this.projectService.getScriptInfoForPath(s),n,(s,o)=>{if(!s.compileOnSaveEnabled||!s.languageServiceEnabled||s.isOrphan())return;const c=s.getCompilationSettings();if(!(c.noEmit||Jl(o.fileName)&&!Ket(c)))return{projectFileName:s.getProjectName(),fileNames:s.getCompileOnSaveAffectedFileList(o),projectUsesOutFile:!!c.outFile}}):wl}emitFile(t){const{file:n,project:i}=this.getFileAndProject(t);if(i||Uh.ThrowNoProject(),!i.languageServiceEnabled)return t.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const s=i.getScriptInfo(n),{emitSkipped:o,diagnostics:c}=i.emitFile(s,(_,u,g)=>this.host.writeFile(_,u,g));return t.richResponse?{emitSkipped:o,diagnostics:t.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(c):c.map(_=>Z8(_,!0))}:!o}getSignatureHelpItems(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getPosition(t,o),_=s.getLanguageService().getSignatureHelpItems(i,c,t),u=!!this.getPreferences(i).displayPartsForJSDoc;if(_&&n){const g=_.applicableSpan;return{..._,applicableSpan:{start:o.positionToLineOffset(g.start),end:o.positionToLineOffset(g.start+g.length)},items:this.mapSignatureHelpItems(_.items,s,u)}}else return u||!_?_:{..._,items:_.items.map(g=>({...g,tags:this.mapJSDocTagInfo(g.tags,s,!1)}))}}toPendingErrorCheck(t){const n=ao(t),i=this.projectService.tryGetDefaultProjectForFile(n);return i&&{fileName:n,project:i}}getDiagnostics(t,n,i){this.suppressDiagnosticEvents||i.length>0&&this.updateErrorCheck(t,i,n)}change(t){const n=this.projectService.getScriptInfo(t.file);E.assert(!!n),n.textStorage.switchToScriptVersionCache();const i=n.lineOffsetToPosition(t.line,t.offset),s=n.lineOffsetToPosition(t.endLine,t.endOffset);i>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(n,mQ({span:{start:i,length:s-i},newText:t.insertString})))}reload(t){const n=ao(t.file),i=t.tmpfile===void 0?void 0:ao(t.tmpfile),s=this.projectService.getScriptInfoForNormalizedPath(n);s&&(this.changeSeq++,s.reloadFromFile(i))}saveToTmp(t,n){const i=this.projectService.getScriptInfo(t);i&&i.saveTo(n)}closeClientFile(t){if(!t)return;const n=Qs(t);this.projectService.closeClientFile(n)}mapLocationNavigationBarItems(t,n){return hr(t,i=>({text:i.text,kind:i.kind,kindModifiers:i.kindModifiers,spans:i.spans.map(s=>Mm(s,n)),childItems:this.mapLocationNavigationBarItems(i.childItems,n),indent:i.indent}))}getNavigationBarItems(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getNavigationBarItems(i);return o?n?this.mapLocationNavigationBarItems(o,this.projectService.getScriptInfoForNormalizedPath(i)):o:void 0}toLocationNavigationTree(t,n){return{text:t.text,kind:t.kind,kindModifiers:t.kindModifiers,spans:t.spans.map(i=>Mm(i,n)),nameSpan:t.nameSpan&&Mm(t.nameSpan,n),childItems:hr(t.childItems,i=>this.toLocationNavigationTree(i,n))}}getNavigationTree(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=s.getNavigationTree(i);return o?n?this.toLocationNavigationTree(o,this.projectService.getScriptInfoForNormalizedPath(i)):o:void 0}getNavigateToItems(t,n){const i=this.getFullNavigateToItems(t);return n?wa(i,({project:s,navigateToItems:o})=>o.map(c=>{const _=s.getScriptInfo(c.fileName),u={name:c.name,kind:c.kind,kindModifiers:c.kindModifiers,isCaseSensitive:c.isCaseSensitive,matchKind:c.matchKind,file:c.fileName,start:_.positionToLineOffset(c.textSpan.start),end:_.positionToLineOffset(ac(c.textSpan))};return c.kindModifiers&&c.kindModifiers!==""&&(u.kindModifiers=c.kindModifiers),c.containerName&&c.containerName.length>0&&(u.containerName=c.containerName),c.containerKind&&c.containerKind.length>0&&(u.containerKind=c.containerKind),u})):wa(i,({navigateToItems:s})=>s)}getFullNavigateToItems(t){const{currentFileOnly:n,searchValue:i,maxResultCount:s,projectFileName:o}=t;if(n){E.assertIsDefined(t.file);const{file:S,project:T}=this.getFileAndProject(t);return[{project:T,navigateToItems:T.getLanguageService().getNavigateToItems(i,s,S)}]}const c=this.getHostPreferences(),_=[],u=new Map;if(!t.file&&!o)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(S=>g(S));else{const S=this.getProjects(t);ZPe(S,void 0,T=>g(T))}return _;function g(S){const T=S.getLanguageService().getNavigateToItems(i,s,void 0,S.isNonTsProject(),c.excludeLibrarySymbolsInNavTo),k=Cn(T,D=>m(D)&&!ZG(Zw(D),S));k.length&&_.push({project:S,navigateToItems:k})}function m(S){const T=S.name;if(!u.has(T))return u.set(T,[S]),!0;const k=u.get(T);for(const D of k)if(h(D,S))return!1;return k.push(S),!0}function h(S,T){return S===T?!0:!S||!T?!1:S.containerKind===T.containerKind&&S.containerName===T.containerName&&S.fileName===T.fileName&&S.isCaseSensitive===T.isCaseSensitive&&S.kind===T.kind&&S.kindModifiers===T.kindModifiers&&S.matchKind===T.matchKind&&S.name===T.name&&S.textSpan.start===T.textSpan.start&&S.textSpan.length===T.textSpan.length}}getSupportedCodeFixes(t){if(!t)return mH();if(t.file){const{file:i,project:s}=this.getFileAndProject(t);return s.getLanguageService().getSupportedCodeFixes(i)}const n=this.getProject(t.projectFileName);return n||Uh.ThrowNoProject(),n.getLanguageService().getSupportedCodeFixes()}isLocation(t){return t.line!==void 0}extractPositionOrRange(t,n){let i,s;return this.isLocation(t)?i=o(t):s=this.getRange(t,n),E.checkDefined(i===void 0?s:i);function o(c){return c.position!==void 0?c.position:n.lineOffsetToPosition(c.line,c.offset)}}getRange(t,n){const{startPosition:i,endPosition:s}=this.getStartAndEndPosition(t,n);return{pos:i,end:s}}getApplicableRefactors(t){const{file:n,project:i}=this.getFileAndProject(t),s=i.getScriptInfoForNormalizedPath(n);return i.getLanguageService().getApplicableRefactors(n,this.extractPositionOrRange(t,s),this.getPreferences(n),t.triggerReason,t.kind,t.includeInteractiveActions).map(c=>({...c,actions:c.actions.map(_=>({..._,range:_.range?{start:yE({line:_.range.start.line,character:_.range.start.offset}),end:yE({line:_.range.end.line,character:_.range.end.offset})}:void 0}))}))}getEditsForRefactor(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=s.getScriptInfoForNormalizedPath(i),c=s.getLanguageService().getEditsForRefactor(i,this.getFormatOptions(i),this.extractPositionOrRange(t,o),t.refactor,t.action,this.getPreferences(i),t.interactiveRefactorArguments);if(c===void 0)return{edits:[]};if(n){const{renameFilename:_,renameLocation:u,edits:g}=c;let m;if(_!==void 0&&u!==void 0){const h=s.getScriptInfoForNormalizedPath(ao(_));m=Afe(yk(h.getSnapshot()),_,u,g)}return{renameLocation:m,renameFilename:_,edits:this.mapTextChangesToCodeEdits(g),notApplicableReason:c.notApplicableReason}}return c}getMoveToRefactoringFileSuggestions(t){const{file:n,project:i}=this.getFileAndProject(t),s=i.getScriptInfoForNormalizedPath(n);return i.getLanguageService().getMoveToRefactoringFileSuggestions(n,this.extractPositionOrRange(t,s),this.getPreferences(n))}preparePasteEdits(t){const{file:n,project:i}=this.getFileAndProject(t);return i.getLanguageService().preparePasteEditsForFile(n,t.copiedTextSpan.map(s=>this.getRange({file:n,startLine:s.start.line,startOffset:s.start.offset,endLine:s.end.line,endOffset:s.end.offset},this.projectService.getScriptInfoForNormalizedPath(n))))}getPasteEdits(t){const{file:n,project:i}=this.getFileAndProject(t);if(Qw(n))return;const s=t.copiedFrom?{file:t.copiedFrom.file,range:t.copiedFrom.spans.map(c=>this.getRange({file:t.copiedFrom.file,startLine:c.start.line,startOffset:c.start.offset,endLine:c.end.line,endOffset:c.end.offset},i.getScriptInfoForNormalizedPath(ao(t.copiedFrom.file))))}:void 0,o=i.getLanguageService().getPasteEdits({targetFile:n,pastedText:t.pastedText,pasteLocations:t.pasteLocations.map(c=>this.getRange({file:n,startLine:c.start.line,startOffset:c.start.offset,endLine:c.end.line,endOffset:c.end.offset},i.getScriptInfoForNormalizedPath(n))),copiedFrom:s,preferences:this.getPreferences(n)},this.getFormatOptions(n));return o&&this.mapPasteEditsAction(o)}organizeImports(t,n){E.assert(t.scope.type==="file");const{file:i,project:s}=this.getFileAndProject(t.scope.args),o=s.getLanguageService().organizeImports({fileName:i,mode:t.mode??(t.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(i),this.getPreferences(i));return n?this.mapTextChangesToCodeEdits(o):o}getEditsForFileRename(t,n){const i=ao(t.oldFilePath),s=ao(t.newFilePath),o=this.getHostFormatOptions(),c=this.getHostPreferences(),_=new Set,u=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(g=>{const m=g.getLanguageService().getEditsForFileRename(i,s,o,c),h=[];for(const S of m)_.has(S.fileName)||(u.push(S),h.push(S.fileName));for(const S of h)_.add(S)}),n?u.map(g=>this.mapTextChangeToCodeEdit(g)):u}getCodeFixes(t,n){const{file:i,project:s}=this.getFileAndProject(t),o=s.getScriptInfoForNormalizedPath(i),{startPosition:c,endPosition:_}=this.getStartAndEndPosition(t,o);let u;try{u=s.getLanguageService().getCodeFixesAtPosition(i,c,_,t.errorCodes,this.getFormatOptions(i),this.getPreferences(i))}catch(g){const m=g instanceof Error?g:new Error(g),h=s.getLanguageService(),S=[...h.getSyntacticDiagnostics(i),...h.getSemanticDiagnostics(i),...h.getSuggestionDiagnostics(i)].filter(k=>f3(c,_-c,k.start,k.length)).map(k=>k.code),T=t.errorCodes.find(k=>!S.includes(k));throw T!==void 0&&(m.message+=`
446
433
  Additional information: BADCLIENT: Bad error code, ${T} not found in range ${c}..${_} (found: ${S.join(", ")})`),m}return n?u.map(g=>this.mapCodeFixAction(g)):u}getCombinedCodeFix({scope:t,fixId:n},i){E.assert(t.type==="file");const{file:s,project:o}=this.getFileAndProject(t.args),c=o.getLanguageService().getCombinedCodeFix({type:"file",fileName:s},n,this.getFormatOptions(s),this.getPreferences(s));return i?{changes:this.mapTextChangesToCodeEdits(c.changes),commands:c.commands}:c}applyCodeActionCommand(t){const n=t.command;for(const i of rx(n)){const{file:s,project:o}=this.getFileAndProject(i);o.getLanguageService().applyCodeActionCommand(i,this.getFormatOptions(s)).then(c=>{},c=>{})}return{}}getStartAndEndPosition(t,n){let i,s;return t.startPosition!==void 0?i=t.startPosition:(i=n.lineOffsetToPosition(t.startLine,t.startOffset),t.startPosition=i),t.endPosition!==void 0?s=t.endPosition:(s=n.lineOffsetToPosition(t.endLine,t.endOffset),t.endPosition=s),{startPosition:i,endPosition:s}}mapCodeAction({description:t,changes:n,commands:i}){return{description:t,changes:this.mapTextChangesToCodeEdits(n),commands:i}}mapCodeFixAction({fixName:t,description:n,changes:i,commands:s,fixId:o,fixAllDescription:c}){return{fixName:t,description:n,changes:this.mapTextChangesToCodeEdits(i),commands:s,fixId:o,fixAllDescription:c}}mapPasteEditsAction({edits:t,fixId:n}){return{edits:this.mapTextChangesToCodeEdits(t),fixId:n}}mapTextChangesToCodeEdits(t){return t.map(n=>this.mapTextChangeToCodeEdit(n))}mapTextChangeToCodeEdit(t){const n=this.projectService.getScriptInfoOrConfig(t.fileName);return!!t.isNewFile==!!n&&(n||this.projectService.logErrorForScriptInfoNotFound(t.fileName),E.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!t.isNewFile,hasScriptInfo:!!n}))),n?{fileName:t.fileName,textChanges:t.textChanges.map(i=>ctt(i,n))}:_tt(t)}convertTextChangeToCodeEdit(t,n){return{start:n.positionToLineOffset(t.span.start),end:n.positionToLineOffset(t.span.start+t.span.length),newText:t.newText?t.newText:""}}getBraceMatching(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getPosition(t,o),_=s.getBraceMatchingAtPosition(i,c);return _?n?_.map(u=>Mm(u,o)):_:void 0}getDiagnosticsForProject(t,n,i){if(this.suppressDiagnosticEvents)return;const{fileNames:s,languageServiceDisabled:o}=this.getProjectInfoWorker(i,void 0,!0,void 0,!0);if(o)return;const c=s.filter(D=>!D.includes("lib.d.ts"));if(c.length===0)return;const _=[],u=[],g=[],m=[],h=ao(i),S=this.projectService.ensureDefaultProjectForFile(h);for(const D of c)this.getCanonicalFileName(D)===this.getCanonicalFileName(i)?_.push(D):this.projectService.getScriptInfo(D).isScriptOpen()?u.push(D):Jl(D)?m.push(D):g.push(D);const k=[..._,...u,...g,...m].map(D=>({fileName:D,project:S}));this.updateErrorCheck(t,k,n,!1)}configurePlugin(t){this.projectService.configurePlugin(t)}getSmartSelectionRange(t,n){const{locations:i}=t,{file:s,languageService:o}=this.getFileAndLanguageServiceForSyntacticOperation(t),c=E.checkDefined(this.projectService.getScriptInfo(s));return hr(i,_=>{const u=this.getPosition(_,c),g=o.getSmartSelectionRange(s,u);return n?this.mapSelectionRange(g,c):g})}toggleLineComment(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfo(i),c=this.getRange(t,o),_=s.toggleLineComment(i,c);if(n){const u=this.projectService.getScriptInfoForNormalizedPath(i);return _.map(g=>this.convertTextChangeToCodeEdit(g,u))}return _}toggleMultilineComment(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getRange(t,o),_=s.toggleMultilineComment(i,c);if(n){const u=this.projectService.getScriptInfoForNormalizedPath(i);return _.map(g=>this.convertTextChangeToCodeEdit(g,u))}return _}commentSelection(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getRange(t,o),_=s.commentSelection(i,c);if(n){const u=this.projectService.getScriptInfoForNormalizedPath(i);return _.map(g=>this.convertTextChangeToCodeEdit(g,u))}return _}uncommentSelection(t,n){const{file:i,languageService:s}=this.getFileAndLanguageServiceForSyntacticOperation(t),o=this.projectService.getScriptInfoForNormalizedPath(i),c=this.getRange(t,o),_=s.uncommentSelection(i,c);if(n){const u=this.projectService.getScriptInfoForNormalizedPath(i);return _.map(g=>this.convertTextChangeToCodeEdit(g,u))}return _}mapSelectionRange(t,n){const i={textSpan:Mm(t.textSpan,n)};return t.parent&&(i.parent=this.mapSelectionRange(t.parent,n)),i}getScriptInfoFromProjectService(t){const n=ao(t),i=this.projectService.getScriptInfoForNormalizedPath(n);return i||(this.projectService.logErrorForScriptInfoNotFound(n),Uh.ThrowNoProject())}toProtocolCallHierarchyItem(t){const n=this.getScriptInfoFromProjectService(t.file);return{name:t.name,kind:t.kind,kindModifiers:t.kindModifiers,file:t.file,containerName:t.containerName,span:Mm(t.span,n),selectionSpan:Mm(t.selectionSpan,n)}}toProtocolCallHierarchyIncomingCall(t){const n=this.getScriptInfoFromProjectService(t.from.file);return{from:this.toProtocolCallHierarchyItem(t.from),fromSpans:t.fromSpans.map(i=>Mm(i,n))}}toProtocolCallHierarchyOutgoingCall(t,n){return{to:this.toProtocolCallHierarchyItem(t.to),fromSpans:t.fromSpans.map(i=>Mm(i,n))}}prepareCallHierarchy(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.projectService.getScriptInfoForNormalizedPath(n);if(s){const o=this.getPosition(t,s),c=i.getLanguageService().prepareCallHierarchy(n,o);return c&&Cq(c,_=>this.toProtocolCallHierarchyItem(_))}}provideCallHierarchyIncomingCalls(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.getScriptInfoFromProjectService(n);return i.getLanguageService().provideCallHierarchyIncomingCalls(n,this.getPosition(t,s)).map(c=>this.toProtocolCallHierarchyIncomingCall(c))}provideCallHierarchyOutgoingCalls(t){const{file:n,project:i}=this.getFileAndProject(t),s=this.getScriptInfoFromProjectService(n);return i.getLanguageService().provideCallHierarchyOutgoingCalls(n,this.getPosition(t,s)).map(c=>this.toProtocolCallHierarchyOutgoingCall(c,s))}getCanonicalFileName(t){const n=this.host.useCaseSensitiveFileNames?t:Sy(t);return Qs(n)}exit(){}notRequired(t){return t&&this.doOutput(void 0,t.command,t.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(t){return{response:t,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(t,n){if(this.handlers.has(t))throw new Error(`Protocol handler already exists for command "${t}"`);this.handlers.set(t,n)}setCurrentRequest(t){E.assert(this.currentRequestId===void 0),this.currentRequestId=t,this.cancellationToken.setRequest(t)}resetCurrentRequest(t){E.assert(this.currentRequestId===t),this.currentRequestId=void 0,this.cancellationToken.resetRequest(t)}executeWithRequestId(t,n,i){const s=this.performanceData;try{return this.performanceData=i,this.setCurrentRequest(t),n()}finally{this.resetCurrentRequest(t),this.performanceData=s}}executeCommand(t){const n=this.handlers.get(t.command);if(n){const i=this.executeWithRequestId(t.seq,()=>n(t),void 0);return this.projectService.enableRequestedPlugins(),i}else return this.logger.msg(`Unrecognized JSON command:${Cv(t)}`,"Err"),this.doOutput(void 0,"unknown",t.seq,!1,void 0,`Unrecognized JSON command: ${t.command}`),{responseRequired:!1}}onMessage(t){var n,i,s,o,c,_,u;this.gcTimer.scheduleCollect();let g;const m=this.performanceData;this.logger.hasLevel(2)&&(g=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${Tw(this.toStringMessage(t))}`));let h,S;try{h=this.parseMessage(t),S=h.arguments&&h.arguments.file?h.arguments:void 0,(n=cn)==null||n.instant(cn.Phase.Session,"request",{seq:h.seq,command:h.command}),(i=cn)==null||i.push(cn.Phase.Session,"executeCommand",{seq:h.seq,command:h.command},!0);const{response:T,responseRequired:k,performanceData:D}=this.executeCommand(h);if((s=cn)==null||s.pop(),this.logger.hasLevel(2)){const P=Zet(this.hrtime(g)).toFixed(4);k?this.logger.perftrc(`${h.seq}::${h.command}: elapsed time (in milliseconds) ${P}`):this.logger.perftrc(`${h.seq}::${h.command}: async elapsed time (in milliseconds) ${P}`)}(o=cn)==null||o.instant(cn.Phase.Session,"response",{seq:h.seq,command:h.command,success:!!T}),T?this.doOutput(T,h.command,h.seq,!0,D):k&&this.doOutput(void 0,h.command,h.seq,!1,D,"No content available.")}catch(T){if((c=cn)==null||c.popAll(),T instanceof yD){(_=cn)==null||_.instant(cn.Phase.Session,"commandCanceled",{seq:h?.seq,command:h?.command}),this.doOutput({canceled:!0},h.command,h.seq,!0,this.performanceData);return}this.logErrorWorker(T,this.toStringMessage(t),S),(u=cn)==null||u.instant(cn.Phase.Session,"commandError",{seq:h?.seq,command:h?.command,message:T.message}),this.doOutput(void 0,h?h.command:"unknown",h?h.seq:0,!1,this.performanceData,"Error processing request. "+T.message+`
447
- `+T.stack)}finally{this.performanceData=m}}parseMessage(t){return JSON.parse(t)}toStringMessage(t){return t}getFormatOptions(t){return this.projectService.getFormatCodeOptions(t)}getPreferences(t){return this.projectService.getPreferences(t)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function s3e(e){const t=e.diagnosticsDuration&&as(e.diagnosticsDuration,([n,i])=>({...i,file:n}));return{...e,diagnosticsDuration:t}}function Mm(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(ac(e))}}function Nfe(e,t,n){const i=Mm(e,n),s=t&&Mm(t,n);return s?{...i,contextStart:s.start,contextEnd:s.end}:i}function ctt(e,t){return{start:a3e(t,e.span.start),end:a3e(t,ac(e.span)),newText:e.newText}}function a3e(e,t){return xfe(e)?utt(e.getLineAndCharacterOfPosition(t)):e.positionToLineOffset(t)}function ltt(e,t){const n=e.ranges.map(i=>({start:t.positionToLineOffset(i.start),end:t.positionToLineOffset(i.start+i.length)}));return e.wordPattern?{ranges:n,wordPattern:e.wordPattern}:{ranges:n}}function utt(e){return{line:e.line+1,offset:e.character+1}}function _tt(e){E.assert(e.textChanges.length===1);const t=Pa(e.textChanges);return E.assert(t.span.start===0&&t.span.length===0),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}function Afe(e,t,n,i){const s=ftt(e,t,i),{line:o,character:c}=FC(lx(s),n);return{line:o+1,offset:c+1}}function ftt(e,t,n){for(const{fileName:i,textChanges:s}of n)if(i===t)for(let o=s.length-1;o>=0;o--){const{newText:c,span:{start:_,length:u}}=s[o];e=e.slice(0,_)+c+e.slice(_+u)}return e}function o3e(e,{fileName:t,textSpan:n,contextSpan:i,isWriteAccess:s,isDefinition:o},{disableLineTextInReferences:c}){const _=E.checkDefined(e.getScriptInfo(t)),u=Nfe(n,i,_),g=c?void 0:ptt(_,u);return{file:t,...u,lineText:g,isWriteAccess:s,isDefinition:o}}function ptt(e,t){const n=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(n.start,ac(n)).replace(/\r|\n/g,"")}function dtt(e){return e===void 0||e&&typeof e=="object"&&typeof e.exportName=="string"&&(e.fileName===void 0||typeof e.fileName=="string")&&(e.ambientModuleName===void 0||typeof e.ambientModuleName=="string"&&(e.isPackageJsonImport===void 0||typeof e.isPackageJsonImport=="boolean"))}var vE=4,Ife=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(Ife||{}),mtt=class{constructor(){this.goSubtree=!0,this.lineIndex=new K8,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new bE,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e?e=this.initialText+e+this.trailingText:e=this.initialText+this.trailingText;const i=K8.linesFromText(e).lines;i.length>1&&i[i.length-1]===""&&i.pop();let s,o;for(let _=this.endBranch.length-1;_>=0;_--)this.endBranch[_].updateCounts(),this.endBranch[_].charCount()===0&&(o=this.endBranch[_],_>0?s=this.endBranch[_-1]:s=this.branchNode);o&&s.remove(o);const c=this.startPath[this.startPath.length-1];if(i.length>0)if(c.text=i[0],i.length>1){let _=new Array(i.length-1),u=c;for(let h=1;h<i.length;h++)_[h-1]=new tM(i[h]);let g=this.startPath.length-2;for(;g>=0;){const h=this.startPath[g];_=h.insertAt(u,_),g--,u=h}let m=_.length;for(;m>0;){const h=new bE;h.add(this.lineIndex.root),_=h.insertAt(this.lineIndex.root,_),m=_.length,this.lineIndex.root=h}this.lineIndex.root.updateCounts()}else for(let _=this.startPath.length-2;_>=0;_--)this.startPath[_].updateCounts();else{this.startPath[this.startPath.length-2].remove(c);for(let u=this.startPath.length-2;u>=0;u--)this.startPath[u].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,i,s){const o=this.stack[this.stack.length-1];this.state===2&&s===1&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n);let c;function _(u){return u.isLeaf()?new tM(""):new bE}switch(s){case 0:this.goSubtree=!1,this.state!==4&&o.add(n);break;case 1:this.state===4?this.goSubtree=!1:(c=_(n),o.add(c),this.startPath.push(c));break;case 2:this.state!==4?(c=_(n),o.add(c),this.startPath.push(c)):n.isLeaf()||(c=_(n),o.add(c),this.endBranch.push(c));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:n.isLeaf()||(c=_(n),o.add(c),this.endBranch.push(c));break;case 5:this.goSubtree=!1,this.state!==1&&o.add(n);break}this.goSubtree&&this.stack.push(c)}leaf(e,t,n){this.state===1?this.initialText=n.text.substring(0,e):this.state===2?(this.initialText=n.text.substring(0,e),this.trailingText=n.text.substring(e+t)):this.trailingText=n.text.substring(e+t)}},gtt=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return p3(ou(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},KG=class YT{constructor(){this.changes=[],this.versions=new Array(YT.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion||t>this.currentVersion))return t%YT.maxVersions}currentVersionToIndex(){return this.currentVersion%YT.maxVersions}edit(t,n,i){this.changes.push(new gtt(t,n,i)),(this.changes.length>YT.changeNumberThreshold||n>YT.changeLengthThreshold||i&&i.length>YT.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(const i of this.changes)n=n.edit(i.pos,i.deleteLen,i.insertedText);t=new c3e(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=YT.maxVersions&&(this.minVersion=this.currentVersion-YT.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(t){return this._getSnapshot().index.lineNumberToInfo(t)}lineOffsetToPosition(t,n){return this._getSnapshot().index.absolutePositionOfStartOfLine(t)+(n-1)}positionToLineOffset(t){return this._getSnapshot().index.positionToLineOffset(t)}lineToTextSpan(t){const n=this._getSnapshot().index,{lineText:i,absolutePosition:s}=n.lineNumberToInfo(t+1),o=i!==void 0?i.length:n.absolutePositionOfStartOfLine(t+2)-s;return ou(s,o)}getTextChangesBetweenVersions(t,n){if(t<n)if(t>=this.minVersion){const i=[];for(let s=t+1;s<=n;s++){const o=this.versions[this.versionToIndex(s)];for(const c of o.changesSincePreviousVersion)i.push(c.getTextChangeRange())}return mZ(i)}else return;else return D7}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){const n=new YT,i=new c3e(0,n,new K8);n.versions[n.currentVersion]=i;const s=K8.linesFromText(t);return i.index.load(s.lines),n}};KG.changeNumberThreshold=8,KG.changeLengthThreshold=256,KG.maxVersions=8;var e$=KG,c3e=class cFe{constructor(t,n,i,s=wl){this.version=t,this.cache=n,this.index=i,this.changesSincePreviousVersion=s}getText(t,n){return this.index.getText(t,n-t)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof cFe&&this.cache===t.cache)return this.version<=t.version?D7:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},K8=class xge{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(t){return this.lineNumberToInfo(t).absolutePosition}positionToLineOffset(t){const{oneBasedLine:n,zeroBasedColumn:i}=this.root.charOffsetToLineInfo(1,t);return{line:n,offset:i+1}}positionToColumnAndLineText(t){return this.root.charOffsetToLineInfo(1,t)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(t){const n=this.getLineCount();if(t<=n){const{position:i,leaf:s}=this.root.lineNumberToInfo(t,0);return{absolutePosition:i,lineText:s&&s.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){const n=[];for(let i=0;i<t.length;i++)n[i]=new tM(t[i]);this.root=xge.buildTreeFromBottom(n)}else this.root=new bE}walk(t,n,i){this.root.walk(t,n,i)}getText(t,n){let i="";return n>0&&t<this.root.charCount()&&this.walk(t,n,{goSubtree:!0,done:!1,leaf:(s,o,c)=>{i=i.concat(c.text.substring(s,s+o))}}),i}getLength(){return this.root.charCount()}every(t,n,i){i||(i=this.root.charCount());const s={goSubtree:!0,done:!1,leaf(o,c,_){t(_,o,c)||(this.done=!0)}};return this.walk(n,i-n,s),!s.done}edit(t,n,i){if(this.root.charCount()===0)return E.assert(n===0),i!==void 0?(this.load(xge.linesFromText(i).lines),this):void 0;{let s;if(this.checkEdits){const _=this.getText(0,this.root.charCount());s=_.slice(0,t)+i+_.slice(t+n)}const o=new mtt;let c=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;const _=this.getText(t,1);i?i=_+i:i=_,n=0,c=!0}else if(n>0){const _=t+n,{zeroBasedColumn:u,lineText:g}=this.positionToColumnAndLineText(_);u===0&&(n+=g.length,i=i?i+g:g)}if(this.root.walk(t,n,o),o.insertLines(i,c),this.checkEdits){const _=o.lineIndex.getText(0,o.lineIndex.getLength());E.assert(s===_,"buffer edit mismatch")}return o.lineIndex}}static buildTreeFromBottom(t){if(t.length<vE)return new bE(t);const n=new Array(Math.ceil(t.length/vE));let i=0;for(let s=0;s<n.length;s++){const o=Math.min(i+vE,t.length);n[s]=new bE(t.slice(i,o)),i=o}return this.buildTreeFromBottom(n)}static linesFromText(t){const n=lx(t);if(n.length===0)return{lines:[],lineMap:n};const i=new Array(n.length),s=n.length-1;for(let c=0;c<s;c++)i[c]=t.substring(n[c],n[c+1]);const o=t.substring(n[s]);return o.length>0?i[s]=o:i.pop(),{lines:i,lineMap:n}}},bE=class kge{constructor(t=[]){this.children=t,this.totalChars=0,this.totalLines=0,t.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const t of this.children)this.totalChars+=t.charCount(),this.totalLines+=t.lineCount()}execWalk(t,n,i,s,o){return i.pre&&i.pre(t,n,this.children[s],this,o),i.goSubtree?(this.children[s].walk(t,n,i),i.post&&i.post(t,n,this.children[s],this,o)):i.goSubtree=!0,i.done}skipChild(t,n,i,s,o){s.pre&&!s.done&&(s.pre(t,n,this.children[i],this,o),s.goSubtree=!0)}walk(t,n,i){if(this.children.length===0)return;let s=0,o=this.children[s].charCount(),c=t;for(;c>=o;)this.skipChild(c,n,s,i,0),c-=o,s++,o=this.children[s].charCount();if(c+n<=o){if(this.execWalk(c,n,i,s,2))return}else{if(this.execWalk(c,o-c,i,s,1))return;let _=n-(o-c);for(s++,o=this.children[s].charCount();_>o;){if(this.execWalk(0,o,i,s,3))return;_-=o,s++,o=this.children[s].charCount()}if(_>0&&this.execWalk(0,_,i,s,4))return}if(i.pre){const _=this.children.length;if(s<_-1)for(let u=s+1;u<_;u++)this.skipChild(0,0,u,i,5)}}charOffsetToLineInfo(t,n){if(this.children.length===0)return{oneBasedLine:t,zeroBasedColumn:n,lineText:void 0};for(const o of this.children){if(o.charCount()>n)return o.isLeaf()?{oneBasedLine:t,zeroBasedColumn:n,lineText:o.text}:o.charOffsetToLineInfo(t,n);n-=o.charCount(),t+=o.lineCount()}const i=this.lineCount();if(i===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const s=E.checkDefined(this.lineNumberToInfo(i,0).leaf);return{oneBasedLine:i,zeroBasedColumn:s.charCount(),lineText:void 0}}lineNumberToInfo(t,n){for(const i of this.children){const s=i.lineCount();if(s>=t)return i.isLeaf()?{position:n,leaf:i}:i.lineNumberToInfo(t,n);t-=s,n+=i.charCount()}return{position:n,leaf:void 0}}splitAfter(t){let n;const i=this.children.length;t++;const s=t;if(t<i){for(n=new kge;t<i;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=s,n}remove(t){const n=this.findChildIndex(t),i=this.children.length;if(n<i-1)for(let s=n;s<i-1;s++)this.children[s]=this.children[s+1];this.children.pop()}findChildIndex(t){const n=this.children.indexOf(t);return E.assert(n!==-1),n}insertAt(t,n){let i=this.findChildIndex(t);const s=this.children.length,o=n.length;if(s<vE&&i===s-1&&o===1)return this.add(n[0]),this.updateCounts(),[];{const c=this.splitAfter(i);let _=0;for(i++;i<vE&&_<o;)this.children[i]=n[_],i++,_++;let u=[],g=0;if(_<o){g=Math.ceil((o-_)/vE),u=new Array(g);let m=0;for(let S=0;S<g;S++)u[S]=new kge;let h=u[0];for(;_<o;)h.add(n[_]),_++,h.children.length===vE&&(m++,h=u[m]);for(let S=u.length-1;S>=0;S--)u[S].children.length===0&&u.pop()}c&&u.push(c),this.updateCounts();for(let m=0;m<g;m++)u[m].updateCounts();return u}}add(t){this.children.push(t),E.assert(this.children.length<=vE)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},tM=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},l3e=class lFe{constructor(t,n,i,s,o,c){this.telemetryEnabled=t,this.logger=n,this.host=i,this.globalTypingsCacheLocation=s,this.event=o,this.maxActiveRequestCount=c,this.activeRequestCount=0,this.requestQueue=YP(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(t){var n;return o1.validatePackageName(t)!==o1.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((n=this.typesRegistryCache)!=null&&n.has(t)))}installPackage(t){this.packageInstallId++;const n={kind:"installPackage",...t,id:this.packageInstallId},i=new Promise((s,o)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:s,reject:o})});return this.installer.send(n),i}attach(t){this.projectService=t,this.installer=this.createInstallerProcess()}onProjectClosed(t){this.installer.send({projectName:t.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(t,n,i){const s=B_e(t,n,i);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${Cv(s)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(s):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${s.projectName}`),this.requestQueue.enqueue(s),this.requestMap.set(s.projectName,s))}handleMessage(t){var n,i;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${Cv(t)}`),t.kind){case kV:this.typesRegistryCache=new Map(Object.entries(t.typesRegistry));break;case b9:{const s=(n=this.packageInstalledPromise)==null?void 0:n.get(t.id);E.assertIsDefined(s,"Should find the promise for package install"),(i=this.packageInstalledPromise)==null||i.delete(t.id),t.success?s.resolve({successMessage:t.message}):s.reject(t.message),this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case qse:{const s={message:t.message};this.event(s,"typesInstallerInitializationFailed");break}case CV:{const s={eventId:t.eventId,packages:t.packagesToInstall};this.event(s,"beginInstallTypes");break}case EV:{if(this.telemetryEnabled){const c={telemetryEventName:"typingsInstalled",payload:{installedPackages:t.packagesToInstall.join(","),installSuccess:t.installSuccess,typingsInstallerVersion:t.typingsInstallerVersion}};this.event(c,"telemetry")}const s={eventId:t.eventId,packages:t.packagesToInstall,success:t.installSuccess};this.event(s,"endInstallTypes");break}case v9:{this.projectService.updateTypingsForProject(t);break}case y9:{for(this.activeRequestCount>0?this.activeRequestCount--:E.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const s=this.requestQueue.dequeue();if(this.requestMap.get(s.projectName)===s){this.requestMap.delete(s.projectName),this.scheduleRequest(s);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${s.projectName}`)}this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case $A:this.projectService.watchTypingLocations(t);break}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${Cv(t)}`),this.installer.send(t)},lFe.requestDelayMillis,`${t.projectName}::${t.kind}`)}};l3e.requestDelayMillis=100;var u3e=l3e,_3e={};xs(_3e,{ActionInvalidate:()=>v9,ActionPackageInstalled:()=>b9,ActionSet:()=>y9,ActionWatchTypingLocations:()=>$A,Arguments:()=>DV,AutoImportProviderProject:()=>afe,AuxiliaryProject:()=>ife,CharRangeSection:()=>Ife,CloseFileWatcherEvent:()=>WG,CommandNames:()=>QPe,ConfigFileDiagEvent:()=>RG,ConfiguredProject:()=>ofe,ConfiguredProjectLoadKind:()=>pfe,CreateDirectoryWatcherEvent:()=>zG,CreateFileWatcherEvent:()=>JG,Errors:()=>Uh,EventBeginInstallTypes:()=>CV,EventEndInstallTypes:()=>EV,EventInitializationFailed:()=>qse,EventTypesRegistry:()=>kV,ExternalProject:()=>AG,GcTimer:()=>H_e,InferredProject:()=>nfe,LargeFileReferencedEvent:()=>MG,LineIndex:()=>K8,LineLeaf:()=>tM,LineNode:()=>bE,LogLevel:()=>R_e,Msg:()=>j_e,OpenFileInfoTelemetryEvent:()=>cfe,Project:()=>Ik,ProjectInfoTelemetryEvent:()=>BG,ProjectKind:()=>Yw,ProjectLanguageServiceStateEvent:()=>jG,ProjectLoadingFinishEvent:()=>LG,ProjectLoadingStartEvent:()=>OG,ProjectService:()=>Tfe,ProjectsUpdatedInBackgroundEvent:()=>ZL,ScriptInfo:()=>Q_e,ScriptVersionCache:()=>e$,Session:()=>i3e,TextStorage:()=>X_e,ThrottledOperations:()=>q_e,TypingsInstallerAdapter:()=>u3e,allFilesAreJsOrDts:()=>efe,allRootFilesAreJsOrDts:()=>K_e,asNormalizedPath:()=>TPe,convertCompilerOptions:()=>KL,convertFormatOptions:()=>hE,convertScriptKindName:()=>VG,convertTypeAcquisition:()=>ufe,convertUserPreferences:()=>_fe,convertWatchOptions:()=>Y8,countEachFileTypes:()=>G8,createInstallTypingsRequest:()=>B_e,createModuleSpecifierCache:()=>Cfe,createNormalizedPathMap:()=>xPe,createPackageJsonCache:()=>Efe,createSortedArray:()=>V_e,emptyArray:()=>wl,findArgument:()=>x2e,formatDiagnosticToProtocol:()=>Z8,formatMessage:()=>Dfe,getBaseConfigFileName:()=>NG,getDetailWatchInfo:()=>$G,getLocationInNewDocument:()=>Afe,hasArgument:()=>T2e,hasNoTypeScriptSource:()=>tfe,indent:()=>Tw,isBackgroundProject:()=>X8,isConfigFile:()=>xfe,isConfiguredProject:()=>z0,isDynamicFileName:()=>Qw,isExternalProject:()=>$8,isInferredProject:()=>gE,isInferredProjectName:()=>J_e,isProjectDeferredClose:()=>Q8,makeAutoImportProviderProjectName:()=>W_e,makeAuxiliaryProjectName:()=>U_e,makeInferredProjectName:()=>z_e,maxFileSize:()=>FG,maxProgramSizeForNonTsFiles:()=>IG,normalizedPathToPath:()=>mE,nowString:()=>k2e,nullCancellationToken:()=>GPe,nullTypingsInstaller:()=>eM,protocol:()=>G_e,scriptInfoIsContainedByBackgroundProject:()=>Y_e,scriptInfoIsContainedByDeferredClosedProject:()=>Z_e,stringifyIndented:()=>Cv,toEvent:()=>wfe,toNormalizedPath:()=>ao,tryConvertScriptKindName:()=>UG,typingsInstaller:()=>M_e,updateProjectIfDirty:()=>ed}),typeof console<"u"&&(E.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:return console.log(t);case 4:return console.log(t)}}})})({get exports(){return xi},set exports(zs){xi=zs,Or.exports&&(Or.exports=zs)}})}(lQ)),lQ.exports}var xFe=TFe(),kC=yFe(xFe);/**
448
- * @license
449
- * Copyright 2019 Google LLC
450
- * SPDX-License-Identifier: Apache-2.0
451
- */const Fge=Symbol("Comlink.proxy"),kFe=Symbol("Comlink.endpoint"),CFe=Symbol("Comlink.releaseProxy"),uQ=Symbol("Comlink.finalizer"),FR=Symbol("Comlink.thrown"),Oge=Or=>typeof Or=="object"&&Or!==null||typeof Or=="function",EFe={canHandle:Or=>Oge(Or)&&Or[Fge],serialize(Or){const{port1:Bn,port2:xi}=new MessageChannel;return _Q(Or,Bn),[xi,[xi]]},deserialize(Or){return Or.start(),NFe(Or)}},DFe={canHandle:Or=>Oge(Or)&&FR in Or,serialize({value:Or}){let Bn;return Or instanceof Error?Bn={isError:!0,value:{message:Or.message,name:Or.name,stack:Or.stack}}:Bn={isError:!1,value:Or},[Bn,[]]},deserialize(Or){throw Or.isError?Object.assign(new Error(Or.value.message),Or.value):Or.value}},Lge=new Map([["proxy",EFe],["throw",DFe]]);function wFe(Or,Bn){for(const xi of Or)if(Bn===xi||xi==="*"||xi instanceof RegExp&&xi.test(Bn))return!0;return!1}function _Q(Or,Bn=globalThis,xi=["*"]){Bn.addEventListener("message",function zs($a){if(!$a||!$a.data)return;if(!wFe(xi,$a.origin)){console.warn(`Invalid origin '${$a.origin}' for comlink proxy`);return}const{id:xs,type:xc,path:_o}=Object.assign({path:[]},$a.data),Yc=($a.data.argumentList||[]).map(sD);let co;try{const kc=_o.slice(0,-1).reduce((Rl,yr)=>Rl[yr],Or),Ue=_o.reduce((Rl,yr)=>Rl[yr],Or);switch(xc){case"GET":co=Ue;break;case"SET":kc[_o.slice(-1)[0]]=sD($a.data.value),co=!0;break;case"APPLY":co=Ue.apply(kc,Yc);break;case"CONSTRUCT":{const Rl=new Ue(...Yc);co=LFe(Rl)}break;case"ENDPOINT":{const{port1:Rl,port2:yr}=new MessageChannel;_Q(Or,yr),co=OFe(Rl,[Rl])}break;case"RELEASE":co=void 0;break;default:return}}catch(kc){co={value:kc,[FR]:0}}Promise.resolve(co).catch(kc=>({value:kc,[FR]:0})).then(kc=>{const[Ue,Rl]=RR(kc);Bn.postMessage(Object.assign(Object.assign({},Ue),{id:xs}),Rl),xc==="RELEASE"&&(Bn.removeEventListener("message",zs),Mge(Bn),uQ in Or&&typeof Or[uQ]=="function"&&Or[uQ]())}).catch(kc=>{const[Ue,Rl]=RR({value:new TypeError("Unserializable return value"),[FR]:0});Bn.postMessage(Object.assign(Object.assign({},Ue),{id:xs}),Rl)})}),Bn.start&&Bn.start()}function PFe(Or){return Or.constructor.name==="MessagePort"}function Mge(Or){PFe(Or)&&Or.close()}function NFe(Or,Bn){const xi=new Map;return Or.addEventListener("message",function($a){const{data:xs}=$a;if(!xs||!xs.id)return;const xc=xi.get(xs.id);if(xc)try{xc(xs)}finally{xi.delete(xs.id)}}),fQ(Or,xi,[],Bn)}function OR(Or){if(Or)throw new Error("Proxy has been released and is not useable")}function Rge(Or){return HP(Or,new Map,{type:"RELEASE"}).then(()=>{Mge(Or)})}const LR=new WeakMap,MR="FinalizationRegistry"in globalThis&&new FinalizationRegistry(Or=>{const Bn=(LR.get(Or)||0)-1;LR.set(Or,Bn),Bn===0&&Rge(Or)});function AFe(Or,Bn){const xi=(LR.get(Bn)||0)+1;LR.set(Bn,xi),MR&&MR.register(Or,Bn,Or)}function IFe(Or){MR&&MR.unregister(Or)}function fQ(Or,Bn,xi=[],zs=function(){}){let $a=!1;const xs=new Proxy(zs,{get(xc,_o){if(OR($a),_o===CFe)return()=>{IFe(xs),Rge(Or),Bn.clear(),$a=!0};if(_o==="then"){if(xi.length===0)return{then:()=>xs};const Yc=HP(Or,Bn,{type:"GET",path:xi.map(co=>co.toString())}).then(sD);return Yc.then.bind(Yc)}return fQ(Or,Bn,[...xi,_o])},set(xc,_o,Yc){OR($a);const[co,kc]=RR(Yc);return HP(Or,Bn,{type:"SET",path:[...xi,_o].map(Ue=>Ue.toString()),value:co},kc).then(sD)},apply(xc,_o,Yc){OR($a);const co=xi[xi.length-1];if(co===kFe)return HP(Or,Bn,{type:"ENDPOINT"}).then(sD);if(co==="bind")return fQ(Or,Bn,xi.slice(0,-1));const[kc,Ue]=jge(Yc);return HP(Or,Bn,{type:"APPLY",path:xi.map(Rl=>Rl.toString()),argumentList:kc},Ue).then(sD)},construct(xc,_o){OR($a);const[Yc,co]=jge(_o);return HP(Or,Bn,{type:"CONSTRUCT",path:xi.map(kc=>kc.toString()),argumentList:Yc},co).then(sD)}});return AFe(xs,Or),xs}function FFe(Or){return Array.prototype.concat.apply([],Or)}function jge(Or){const Bn=Or.map(RR);return[Bn.map(xi=>xi[0]),FFe(Bn.map(xi=>xi[1]))]}const Bge=new WeakMap;function OFe(Or,Bn){return Bge.set(Or,Bn),Or}function LFe(Or){return Object.assign(Or,{[Fge]:!0})}function RR(Or){for(const[Bn,xi]of Lge)if(xi.canHandle(Or)){const[zs,$a]=xi.serialize(Or);return[{type:"HANDLER",name:Bn,value:zs},$a]}return[{type:"RAW",value:Or},Bge.get(Or)||[]]}function sD(Or){switch(Or.type){case"HANDLER":return Lge.get(Or.name).deserialize(Or.value);case"RAW":return Or.value}}function HP(Or,Bn,xi,zs){return new Promise($a=>{const xs=MFe();Bn.set(xs,$a),Or.start&&Or.start(),Or.postMessage(Object.assign({id:xs},xi),zs)})}function MFe(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function RFe({env:Or,path:Bn,pos:xi}){const zs=xi;if(zs===null)return null;const $a=Or.languageService.getQuickInfoAtPosition(Bn,zs);if(!$a)return null;const xs=$a.textSpan.start,xc=Or.languageService.getTypeDefinitionAtPosition(Bn,zs)??Or.languageService.getDefinitionAtPosition(Bn,zs);return{start:xs,end:xs+$a.textSpan.length,typeDef:xc,quickInfo:$a}}const jFe=["Object","Function","Array","Number","parseFloat","parseInt","Infinity","NaN","undefined","Boolean","String","Symbol","Date","Promise","RegExp","Error","JSON","Math","Intl","ArrayBuffer","Atomics","Uint8Array","Int8Array","Uint16Array","Int16Array","Uint32Array","Int32Array","Float32Array","Float64Array","Uint8ClampedArray","BigUint64Array","BigInt64Array","DataView","Map","BigInt","Set","WeakMap","WeakSet","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape","isFinite","isNaN","Deno","Blob","FormData","Request","Response","TextDecoder","TextEncoder","URL","URLPattern","URLSearchParams","atob","btoa","crypto","fetch","clearInterval","clearTimeout","performance","setInterval","setTimeout"],BFe=new Set(["class","constant","enum","function","interface","keyword","method","namespace","property","text","type","variable"]);function JFe(Or,Bn){let{source:xi}=Or,zs=xi[xi.length-1]!="$";return zs?new RegExp(`(?:${xi})${zs?"$":""}`,Or.flags??(Or.ignoreCase?"i":"")):Or}function zFe(Or,Bn){const xi=Or.lastIndexOf(`
434
+ `+T.stack)}finally{this.performanceData=m}}parseMessage(t){return JSON.parse(t)}toStringMessage(t){return t}getFormatOptions(t){return this.projectService.getFormatCodeOptions(t)}getPreferences(t){return this.projectService.getPreferences(t)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function s3e(e){const t=e.diagnosticsDuration&&as(e.diagnosticsDuration,([n,i])=>({...i,file:n}));return{...e,diagnosticsDuration:t}}function Mm(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(ac(e))}}function Nfe(e,t,n){const i=Mm(e,n),s=t&&Mm(t,n);return s?{...i,contextStart:s.start,contextEnd:s.end}:i}function ctt(e,t){return{start:a3e(t,e.span.start),end:a3e(t,ac(e.span)),newText:e.newText}}function a3e(e,t){return xfe(e)?utt(e.getLineAndCharacterOfPosition(t)):e.positionToLineOffset(t)}function ltt(e,t){const n=e.ranges.map(i=>({start:t.positionToLineOffset(i.start),end:t.positionToLineOffset(i.start+i.length)}));return e.wordPattern?{ranges:n,wordPattern:e.wordPattern}:{ranges:n}}function utt(e){return{line:e.line+1,offset:e.character+1}}function _tt(e){E.assert(e.textChanges.length===1);const t=Pa(e.textChanges);return E.assert(t.span.start===0&&t.span.length===0),{fileName:e.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:t.newText}]}}function Afe(e,t,n,i){const s=ftt(e,t,i),{line:o,character:c}=FC(lx(s),n);return{line:o+1,offset:c+1}}function ftt(e,t,n){for(const{fileName:i,textChanges:s}of n)if(i===t)for(let o=s.length-1;o>=0;o--){const{newText:c,span:{start:_,length:u}}=s[o];e=e.slice(0,_)+c+e.slice(_+u)}return e}function o3e(e,{fileName:t,textSpan:n,contextSpan:i,isWriteAccess:s,isDefinition:o},{disableLineTextInReferences:c}){const _=E.checkDefined(e.getScriptInfo(t)),u=Nfe(n,i,_),g=c?void 0:ptt(_,u);return{file:t,...u,lineText:g,isWriteAccess:s,isDefinition:o}}function ptt(e,t){const n=e.lineToTextSpan(t.start.line-1);return e.getSnapshot().getText(n.start,ac(n)).replace(/\r|\n/g,"")}function dtt(e){return e===void 0||e&&typeof e=="object"&&typeof e.exportName=="string"&&(e.fileName===void 0||typeof e.fileName=="string")&&(e.ambientModuleName===void 0||typeof e.ambientModuleName=="string"&&(e.isPackageJsonImport===void 0||typeof e.isPackageJsonImport=="boolean"))}var vE=4,Ife=(e=>(e[e.PreStart=0]="PreStart",e[e.Start=1]="Start",e[e.Entire=2]="Entire",e[e.Mid=3]="Mid",e[e.End=4]="End",e[e.PostEnd=5]="PostEnd",e))(Ife||{}),mtt=class{constructor(){this.goSubtree=!0,this.lineIndex=new K8,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new bE,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){t&&(this.trailingText=""),e?e=this.initialText+e+this.trailingText:e=this.initialText+this.trailingText;const i=K8.linesFromText(e).lines;i.length>1&&i[i.length-1]===""&&i.pop();let s,o;for(let _=this.endBranch.length-1;_>=0;_--)this.endBranch[_].updateCounts(),this.endBranch[_].charCount()===0&&(o=this.endBranch[_],_>0?s=this.endBranch[_-1]:s=this.branchNode);o&&s.remove(o);const c=this.startPath[this.startPath.length-1];if(i.length>0)if(c.text=i[0],i.length>1){let _=new Array(i.length-1),u=c;for(let h=1;h<i.length;h++)_[h-1]=new tM(i[h]);let g=this.startPath.length-2;for(;g>=0;){const h=this.startPath[g];_=h.insertAt(u,_),g--,u=h}let m=_.length;for(;m>0;){const h=new bE;h.add(this.lineIndex.root),_=h.insertAt(this.lineIndex.root,_),m=_.length,this.lineIndex.root=h}this.lineIndex.root.updateCounts()}else for(let _=this.startPath.length-2;_>=0;_--)this.startPath[_].updateCounts();else{this.startPath[this.startPath.length-2].remove(c);for(let u=this.startPath.length-2;u>=0;u--)this.startPath[u].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,i,s){const o=this.stack[this.stack.length-1];this.state===2&&s===1&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n);let c;function _(u){return u.isLeaf()?new tM(""):new bE}switch(s){case 0:this.goSubtree=!1,this.state!==4&&o.add(n);break;case 1:this.state===4?this.goSubtree=!1:(c=_(n),o.add(c),this.startPath.push(c));break;case 2:this.state!==4?(c=_(n),o.add(c),this.startPath.push(c)):n.isLeaf()||(c=_(n),o.add(c),this.endBranch.push(c));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:n.isLeaf()||(c=_(n),o.add(c),this.endBranch.push(c));break;case 5:this.goSubtree=!1,this.state!==1&&o.add(n);break}this.goSubtree&&this.stack.push(c)}leaf(e,t,n){this.state===1?this.initialText=n.text.substring(0,e):this.state===2?(this.initialText=n.text.substring(0,e),this.trailingText=n.text.substring(e+t)):this.trailingText=n.text.substring(e+t)}},gtt=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return p3(ou(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},KG=class YT{constructor(){this.changes=[],this.versions=new Array(YT.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion||t>this.currentVersion))return t%YT.maxVersions}currentVersionToIndex(){return this.currentVersion%YT.maxVersions}edit(t,n,i){this.changes.push(new gtt(t,n,i)),(this.changes.length>YT.changeNumberThreshold||n>YT.changeLengthThreshold||i&&i.length>YT.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(const i of this.changes)n=n.edit(i.pos,i.deleteLen,i.insertedText);t=new c3e(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=YT.maxVersions&&(this.minVersion=this.currentVersion-YT.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(t){return this._getSnapshot().index.lineNumberToInfo(t)}lineOffsetToPosition(t,n){return this._getSnapshot().index.absolutePositionOfStartOfLine(t)+(n-1)}positionToLineOffset(t){return this._getSnapshot().index.positionToLineOffset(t)}lineToTextSpan(t){const n=this._getSnapshot().index,{lineText:i,absolutePosition:s}=n.lineNumberToInfo(t+1),o=i!==void 0?i.length:n.absolutePositionOfStartOfLine(t+2)-s;return ou(s,o)}getTextChangesBetweenVersions(t,n){if(t<n)if(t>=this.minVersion){const i=[];for(let s=t+1;s<=n;s++){const o=this.versions[this.versionToIndex(s)];for(const c of o.changesSincePreviousVersion)i.push(c.getTextChangeRange())}return mZ(i)}else return;else return D7}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){const n=new YT,i=new c3e(0,n,new K8);n.versions[n.currentVersion]=i;const s=K8.linesFromText(t);return i.index.load(s.lines),n}};KG.changeNumberThreshold=8,KG.changeLengthThreshold=256,KG.maxVersions=8;var e$=KG,c3e=class cFe{constructor(t,n,i,s=wl){this.version=t,this.cache=n,this.index=i,this.changesSincePreviousVersion=s}getText(t,n){return this.index.getText(t,n-t)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof cFe&&this.cache===t.cache)return this.version<=t.version?D7:this.cache.getTextChangesBetweenVersions(t.version,this.version)}},K8=class xge{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(t){return this.lineNumberToInfo(t).absolutePosition}positionToLineOffset(t){const{oneBasedLine:n,zeroBasedColumn:i}=this.root.charOffsetToLineInfo(1,t);return{line:n,offset:i+1}}positionToColumnAndLineText(t){return this.root.charOffsetToLineInfo(1,t)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(t){const n=this.getLineCount();if(t<=n){const{position:i,leaf:s}=this.root.lineNumberToInfo(t,0);return{absolutePosition:i,lineText:s&&s.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(t){if(t.length>0){const n=[];for(let i=0;i<t.length;i++)n[i]=new tM(t[i]);this.root=xge.buildTreeFromBottom(n)}else this.root=new bE}walk(t,n,i){this.root.walk(t,n,i)}getText(t,n){let i="";return n>0&&t<this.root.charCount()&&this.walk(t,n,{goSubtree:!0,done:!1,leaf:(s,o,c)=>{i=i.concat(c.text.substring(s,s+o))}}),i}getLength(){return this.root.charCount()}every(t,n,i){i||(i=this.root.charCount());const s={goSubtree:!0,done:!1,leaf(o,c,_){t(_,o,c)||(this.done=!0)}};return this.walk(n,i-n,s),!s.done}edit(t,n,i){if(this.root.charCount()===0)return E.assert(n===0),i!==void 0?(this.load(xge.linesFromText(i).lines),this):void 0;{let s;if(this.checkEdits){const _=this.getText(0,this.root.charCount());s=_.slice(0,t)+i+_.slice(t+n)}const o=new mtt;let c=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;const _=this.getText(t,1);i?i=_+i:i=_,n=0,c=!0}else if(n>0){const _=t+n,{zeroBasedColumn:u,lineText:g}=this.positionToColumnAndLineText(_);u===0&&(n+=g.length,i=i?i+g:g)}if(this.root.walk(t,n,o),o.insertLines(i,c),this.checkEdits){const _=o.lineIndex.getText(0,o.lineIndex.getLength());E.assert(s===_,"buffer edit mismatch")}return o.lineIndex}}static buildTreeFromBottom(t){if(t.length<vE)return new bE(t);const n=new Array(Math.ceil(t.length/vE));let i=0;for(let s=0;s<n.length;s++){const o=Math.min(i+vE,t.length);n[s]=new bE(t.slice(i,o)),i=o}return this.buildTreeFromBottom(n)}static linesFromText(t){const n=lx(t);if(n.length===0)return{lines:[],lineMap:n};const i=new Array(n.length),s=n.length-1;for(let c=0;c<s;c++)i[c]=t.substring(n[c],n[c+1]);const o=t.substring(n[s]);return o.length>0?i[s]=o:i.pop(),{lines:i,lineMap:n}}},bE=class kge{constructor(t=[]){this.children=t,this.totalChars=0,this.totalLines=0,t.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const t of this.children)this.totalChars+=t.charCount(),this.totalLines+=t.lineCount()}execWalk(t,n,i,s,o){return i.pre&&i.pre(t,n,this.children[s],this,o),i.goSubtree?(this.children[s].walk(t,n,i),i.post&&i.post(t,n,this.children[s],this,o)):i.goSubtree=!0,i.done}skipChild(t,n,i,s,o){s.pre&&!s.done&&(s.pre(t,n,this.children[i],this,o),s.goSubtree=!0)}walk(t,n,i){if(this.children.length===0)return;let s=0,o=this.children[s].charCount(),c=t;for(;c>=o;)this.skipChild(c,n,s,i,0),c-=o,s++,o=this.children[s].charCount();if(c+n<=o){if(this.execWalk(c,n,i,s,2))return}else{if(this.execWalk(c,o-c,i,s,1))return;let _=n-(o-c);for(s++,o=this.children[s].charCount();_>o;){if(this.execWalk(0,o,i,s,3))return;_-=o,s++,o=this.children[s].charCount()}if(_>0&&this.execWalk(0,_,i,s,4))return}if(i.pre){const _=this.children.length;if(s<_-1)for(let u=s+1;u<_;u++)this.skipChild(0,0,u,i,5)}}charOffsetToLineInfo(t,n){if(this.children.length===0)return{oneBasedLine:t,zeroBasedColumn:n,lineText:void 0};for(const o of this.children){if(o.charCount()>n)return o.isLeaf()?{oneBasedLine:t,zeroBasedColumn:n,lineText:o.text}:o.charOffsetToLineInfo(t,n);n-=o.charCount(),t+=o.lineCount()}const i=this.lineCount();if(i===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const s=E.checkDefined(this.lineNumberToInfo(i,0).leaf);return{oneBasedLine:i,zeroBasedColumn:s.charCount(),lineText:void 0}}lineNumberToInfo(t,n){for(const i of this.children){const s=i.lineCount();if(s>=t)return i.isLeaf()?{position:n,leaf:i}:i.lineNumberToInfo(t,n);t-=s,n+=i.charCount()}return{position:n,leaf:void 0}}splitAfter(t){let n;const i=this.children.length;t++;const s=t;if(t<i){for(n=new kge;t<i;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=s,n}remove(t){const n=this.findChildIndex(t),i=this.children.length;if(n<i-1)for(let s=n;s<i-1;s++)this.children[s]=this.children[s+1];this.children.pop()}findChildIndex(t){const n=this.children.indexOf(t);return E.assert(n!==-1),n}insertAt(t,n){let i=this.findChildIndex(t);const s=this.children.length,o=n.length;if(s<vE&&i===s-1&&o===1)return this.add(n[0]),this.updateCounts(),[];{const c=this.splitAfter(i);let _=0;for(i++;i<vE&&_<o;)this.children[i]=n[_],i++,_++;let u=[],g=0;if(_<o){g=Math.ceil((o-_)/vE),u=new Array(g);let m=0;for(let S=0;S<g;S++)u[S]=new kge;let h=u[0];for(;_<o;)h.add(n[_]),_++,h.children.length===vE&&(m++,h=u[m]);for(let S=u.length-1;S>=0;S--)u[S].children.length===0&&u.pop()}c&&u.push(c),this.updateCounts();for(let m=0;m<g;m++)u[m].updateCounts();return u}}add(t){this.children.push(t),E.assert(this.children.length<=vE)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},tM=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},l3e=class lFe{constructor(t,n,i,s,o,c){this.telemetryEnabled=t,this.logger=n,this.host=i,this.globalTypingsCacheLocation=s,this.event=o,this.maxActiveRequestCount=c,this.activeRequestCount=0,this.requestQueue=YP(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(t){var n;return o1.validatePackageName(t)!==o1.NameValidationResult.Ok?!1:(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!((n=this.typesRegistryCache)!=null&&n.has(t)))}installPackage(t){this.packageInstallId++;const n={kind:"installPackage",...t,id:this.packageInstallId},i=new Promise((s,o)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:s,reject:o})});return this.installer.send(n),i}attach(t){this.projectService=t,this.installer=this.createInstallerProcess()}onProjectClosed(t){this.installer.send({projectName:t.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(t,n,i){const s=B_e(t,n,i);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${Cv(s)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(s):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${s.projectName}`),this.requestQueue.enqueue(s),this.requestMap.set(s.projectName,s))}handleMessage(t){var n,i;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${Cv(t)}`),t.kind){case kV:this.typesRegistryCache=new Map(Object.entries(t.typesRegistry));break;case b9:{const s=(n=this.packageInstalledPromise)==null?void 0:n.get(t.id);E.assertIsDefined(s,"Should find the promise for package install"),(i=this.packageInstalledPromise)==null||i.delete(t.id),t.success?s.resolve({successMessage:t.message}):s.reject(t.message),this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case qse:{const s={message:t.message};this.event(s,"typesInstallerInitializationFailed");break}case CV:{const s={eventId:t.eventId,packages:t.packagesToInstall};this.event(s,"beginInstallTypes");break}case EV:{if(this.telemetryEnabled){const c={telemetryEventName:"typingsInstalled",payload:{installedPackages:t.packagesToInstall.join(","),installSuccess:t.installSuccess,typingsInstallerVersion:t.typingsInstallerVersion}};this.event(c,"telemetry")}const s={eventId:t.eventId,packages:t.packagesToInstall,success:t.installSuccess};this.event(s,"endInstallTypes");break}case v9:{this.projectService.updateTypingsForProject(t);break}case y9:{for(this.activeRequestCount>0?this.activeRequestCount--:E.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){const s=this.requestQueue.dequeue();if(this.requestMap.get(s.projectName)===s){this.requestMap.delete(s.projectName),this.scheduleRequest(s);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${s.projectName}`)}this.projectService.updateTypingsForProject(t),this.event(t,"setTypings");break}case $A:this.projectService.watchTypingLocations(t);break}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${Cv(t)}`),this.installer.send(t)},lFe.requestDelayMillis,`${t.projectName}::${t.kind}`)}};l3e.requestDelayMillis=100;var u3e=l3e,_3e={};xs(_3e,{ActionInvalidate:()=>v9,ActionPackageInstalled:()=>b9,ActionSet:()=>y9,ActionWatchTypingLocations:()=>$A,Arguments:()=>DV,AutoImportProviderProject:()=>afe,AuxiliaryProject:()=>ife,CharRangeSection:()=>Ife,CloseFileWatcherEvent:()=>WG,CommandNames:()=>QPe,ConfigFileDiagEvent:()=>RG,ConfiguredProject:()=>ofe,ConfiguredProjectLoadKind:()=>pfe,CreateDirectoryWatcherEvent:()=>zG,CreateFileWatcherEvent:()=>JG,Errors:()=>Uh,EventBeginInstallTypes:()=>CV,EventEndInstallTypes:()=>EV,EventInitializationFailed:()=>qse,EventTypesRegistry:()=>kV,ExternalProject:()=>AG,GcTimer:()=>H_e,InferredProject:()=>nfe,LargeFileReferencedEvent:()=>MG,LineIndex:()=>K8,LineLeaf:()=>tM,LineNode:()=>bE,LogLevel:()=>R_e,Msg:()=>j_e,OpenFileInfoTelemetryEvent:()=>cfe,Project:()=>Ik,ProjectInfoTelemetryEvent:()=>BG,ProjectKind:()=>Yw,ProjectLanguageServiceStateEvent:()=>jG,ProjectLoadingFinishEvent:()=>LG,ProjectLoadingStartEvent:()=>OG,ProjectService:()=>Tfe,ProjectsUpdatedInBackgroundEvent:()=>ZL,ScriptInfo:()=>Q_e,ScriptVersionCache:()=>e$,Session:()=>i3e,TextStorage:()=>X_e,ThrottledOperations:()=>q_e,TypingsInstallerAdapter:()=>u3e,allFilesAreJsOrDts:()=>efe,allRootFilesAreJsOrDts:()=>K_e,asNormalizedPath:()=>TPe,convertCompilerOptions:()=>KL,convertFormatOptions:()=>hE,convertScriptKindName:()=>VG,convertTypeAcquisition:()=>ufe,convertUserPreferences:()=>_fe,convertWatchOptions:()=>Y8,countEachFileTypes:()=>G8,createInstallTypingsRequest:()=>B_e,createModuleSpecifierCache:()=>Cfe,createNormalizedPathMap:()=>xPe,createPackageJsonCache:()=>Efe,createSortedArray:()=>V_e,emptyArray:()=>wl,findArgument:()=>x2e,formatDiagnosticToProtocol:()=>Z8,formatMessage:()=>Dfe,getBaseConfigFileName:()=>NG,getDetailWatchInfo:()=>$G,getLocationInNewDocument:()=>Afe,hasArgument:()=>T2e,hasNoTypeScriptSource:()=>tfe,indent:()=>Tw,isBackgroundProject:()=>X8,isConfigFile:()=>xfe,isConfiguredProject:()=>z0,isDynamicFileName:()=>Qw,isExternalProject:()=>$8,isInferredProject:()=>gE,isInferredProjectName:()=>J_e,isProjectDeferredClose:()=>Q8,makeAutoImportProviderProjectName:()=>W_e,makeAuxiliaryProjectName:()=>U_e,makeInferredProjectName:()=>z_e,maxFileSize:()=>FG,maxProgramSizeForNonTsFiles:()=>IG,normalizedPathToPath:()=>mE,nowString:()=>k2e,nullCancellationToken:()=>GPe,nullTypingsInstaller:()=>eM,protocol:()=>G_e,scriptInfoIsContainedByBackgroundProject:()=>Y_e,scriptInfoIsContainedByDeferredClosedProject:()=>Z_e,stringifyIndented:()=>Cv,toEvent:()=>wfe,toNormalizedPath:()=>ao,tryConvertScriptKindName:()=>UG,typingsInstaller:()=>M_e,updateProjectIfDirty:()=>ed}),typeof console<"u"&&(E.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:return console.log(t);case 4:return console.log(t)}}})})({get exports(){return xi},set exports(zs){xi=zs,Or.exports&&(Or.exports=zs)}})}(lQ)),lQ.exports}var xFe=TFe(),kC=yFe(xFe);const Fge=Symbol("Comlink.proxy"),kFe=Symbol("Comlink.endpoint"),CFe=Symbol("Comlink.releaseProxy"),uQ=Symbol("Comlink.finalizer"),FR=Symbol("Comlink.thrown"),Oge=Or=>typeof Or=="object"&&Or!==null||typeof Or=="function",EFe={canHandle:Or=>Oge(Or)&&Or[Fge],serialize(Or){const{port1:Bn,port2:xi}=new MessageChannel;return _Q(Or,Bn),[xi,[xi]]},deserialize(Or){return Or.start(),NFe(Or)}},DFe={canHandle:Or=>Oge(Or)&&FR in Or,serialize({value:Or}){let Bn;return Or instanceof Error?Bn={isError:!0,value:{message:Or.message,name:Or.name,stack:Or.stack}}:Bn={isError:!1,value:Or},[Bn,[]]},deserialize(Or){throw Or.isError?Object.assign(new Error(Or.value.message),Or.value):Or.value}},Lge=new Map([["proxy",EFe],["throw",DFe]]);function wFe(Or,Bn){for(const xi of Or)if(Bn===xi||xi==="*"||xi instanceof RegExp&&xi.test(Bn))return!0;return!1}function _Q(Or,Bn=globalThis,xi=["*"]){Bn.addEventListener("message",function zs($a){if(!$a||!$a.data)return;if(!wFe(xi,$a.origin)){console.warn(`Invalid origin '${$a.origin}' for comlink proxy`);return}const{id:xs,type:xc,path:_o}=Object.assign({path:[]},$a.data),Yc=($a.data.argumentList||[]).map(sD);let co;try{const kc=_o.slice(0,-1).reduce((Rl,yr)=>Rl[yr],Or),Ue=_o.reduce((Rl,yr)=>Rl[yr],Or);switch(xc){case"GET":co=Ue;break;case"SET":kc[_o.slice(-1)[0]]=sD($a.data.value),co=!0;break;case"APPLY":co=Ue.apply(kc,Yc);break;case"CONSTRUCT":{const Rl=new Ue(...Yc);co=LFe(Rl)}break;case"ENDPOINT":{const{port1:Rl,port2:yr}=new MessageChannel;_Q(Or,yr),co=OFe(Rl,[Rl])}break;case"RELEASE":co=void 0;break;default:return}}catch(kc){co={value:kc,[FR]:0}}Promise.resolve(co).catch(kc=>({value:kc,[FR]:0})).then(kc=>{const[Ue,Rl]=RR(kc);Bn.postMessage(Object.assign(Object.assign({},Ue),{id:xs}),Rl),xc==="RELEASE"&&(Bn.removeEventListener("message",zs),Mge(Bn),uQ in Or&&typeof Or[uQ]=="function"&&Or[uQ]())}).catch(kc=>{const[Ue,Rl]=RR({value:new TypeError("Unserializable return value"),[FR]:0});Bn.postMessage(Object.assign(Object.assign({},Ue),{id:xs}),Rl)})}),Bn.start&&Bn.start()}function PFe(Or){return Or.constructor.name==="MessagePort"}function Mge(Or){PFe(Or)&&Or.close()}function NFe(Or,Bn){const xi=new Map;return Or.addEventListener("message",function($a){const{data:xs}=$a;if(!xs||!xs.id)return;const xc=xi.get(xs.id);if(xc)try{xc(xs)}finally{xi.delete(xs.id)}}),fQ(Or,xi,[],Bn)}function OR(Or){if(Or)throw new Error("Proxy has been released and is not useable")}function Rge(Or){return HP(Or,new Map,{type:"RELEASE"}).then(()=>{Mge(Or)})}const LR=new WeakMap,MR="FinalizationRegistry"in globalThis&&new FinalizationRegistry(Or=>{const Bn=(LR.get(Or)||0)-1;LR.set(Or,Bn),Bn===0&&Rge(Or)});function AFe(Or,Bn){const xi=(LR.get(Bn)||0)+1;LR.set(Bn,xi),MR&&MR.register(Or,Bn,Or)}function IFe(Or){MR&&MR.unregister(Or)}function fQ(Or,Bn,xi=[],zs=function(){}){let $a=!1;const xs=new Proxy(zs,{get(xc,_o){if(OR($a),_o===CFe)return()=>{IFe(xs),Rge(Or),Bn.clear(),$a=!0};if(_o==="then"){if(xi.length===0)return{then:()=>xs};const Yc=HP(Or,Bn,{type:"GET",path:xi.map(co=>co.toString())}).then(sD);return Yc.then.bind(Yc)}return fQ(Or,Bn,[...xi,_o])},set(xc,_o,Yc){OR($a);const[co,kc]=RR(Yc);return HP(Or,Bn,{type:"SET",path:[...xi,_o].map(Ue=>Ue.toString()),value:co},kc).then(sD)},apply(xc,_o,Yc){OR($a);const co=xi[xi.length-1];if(co===kFe)return HP(Or,Bn,{type:"ENDPOINT"}).then(sD);if(co==="bind")return fQ(Or,Bn,xi.slice(0,-1));const[kc,Ue]=jge(Yc);return HP(Or,Bn,{type:"APPLY",path:xi.map(Rl=>Rl.toString()),argumentList:kc},Ue).then(sD)},construct(xc,_o){OR($a);const[Yc,co]=jge(_o);return HP(Or,Bn,{type:"CONSTRUCT",path:xi.map(kc=>kc.toString()),argumentList:Yc},co).then(sD)}});return AFe(xs,Or),xs}function FFe(Or){return Array.prototype.concat.apply([],Or)}function jge(Or){const Bn=Or.map(RR);return[Bn.map(xi=>xi[0]),FFe(Bn.map(xi=>xi[1]))]}const Bge=new WeakMap;function OFe(Or,Bn){return Bge.set(Or,Bn),Or}function LFe(Or){return Object.assign(Or,{[Fge]:!0})}function RR(Or){for(const[Bn,xi]of Lge)if(xi.canHandle(Or)){const[zs,$a]=xi.serialize(Or);return[{type:"HANDLER",name:Bn,value:zs},$a]}return[{type:"RAW",value:Or},Bge.get(Or)||[]]}function sD(Or){switch(Or.type){case"HANDLER":return Lge.get(Or.name).deserialize(Or.value);case"RAW":return Or.value}}function HP(Or,Bn,xi,zs){return new Promise($a=>{const xs=MFe();Bn.set(xs,$a),Or.start&&Or.start(),Or.postMessage(Object.assign({id:xs},xi),zs)})}function MFe(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}function RFe({env:Or,path:Bn,pos:xi}){const zs=xi;if(zs===null)return null;const $a=Or.languageService.getQuickInfoAtPosition(Bn,zs);if(!$a)return null;const xs=$a.textSpan.start,xc=Or.languageService.getTypeDefinitionAtPosition(Bn,zs)??Or.languageService.getDefinitionAtPosition(Bn,zs);return{start:xs,end:xs+$a.textSpan.length,typeDef:xc,quickInfo:$a}}const jFe=["Object","Function","Array","Number","parseFloat","parseInt","Infinity","NaN","undefined","Boolean","String","Symbol","Date","Promise","RegExp","Error","JSON","Math","Intl","ArrayBuffer","Atomics","Uint8Array","Int8Array","Uint16Array","Int16Array","Uint32Array","Int32Array","Float32Array","Float64Array","Uint8ClampedArray","BigUint64Array","BigInt64Array","DataView","Map","BigInt","Set","WeakMap","WeakSet","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape","isFinite","isNaN","Deno","Blob","FormData","Request","Response","TextDecoder","TextEncoder","URL","URLPattern","URLSearchParams","atob","btoa","crypto","fetch","clearInterval","clearTimeout","performance","setInterval","setTimeout"],BFe=new Set(["class","constant","enum","function","interface","keyword","method","namespace","property","text","type","variable"]);function JFe(Or,Bn){let{source:xi}=Or,zs=xi[xi.length-1]!="$";return zs?new RegExp(`(?:${xi})${zs?"$":""}`,Or.flags??(Or.ignoreCase?"i":"")):Or}function zFe(Or,Bn){const xi=Or.lastIndexOf(`
452
435
  `,Bn-1)+1;let zs=Or.indexOf(`
453
436
  `,Bn);zs===-1&&(zs=Or.length);const $a=Or.slice(xi,zs);return{from:xi,to:zs,text:$a}}function Jge(Or,Bn,xi){const zs=zFe(Or,Bn);let $a=Math.max(zs.from,Bn-250),xs=zs.text.slice($a-zs.from,Bn-zs.from),xc=xs.search(JFe(xi));return xc<0?null:{from:$a+xc,to:Bn,text:xs.slice(xc)}}const WFe=[kC.ScriptElementKind.warning];async function UFe({env:Or,path:Bn,context:xi,keepLegacyLimitationForAutocompletionSymbols:zs=!0}){const{pos:$a,explicit:xs}=xi,xc=Or.getSourceFile(Bn)?.getFullText();if(!xc)return null;let _o=Jge(xc,$a,/\w*/);if(_o?.text||(_o=Jge(xc,$a,/\./)),!_o?.text&&!xs)return null;const Yc=Or.languageService.getCompletionsAtPosition(Bn,$a,{},{});if(!Yc)return null;const co=Yc.entries.filter(kc=>!WFe.includes(kc.kind)&&(kc.sortText<"15"||Yc.optionalReplacementSpan?.length&&(!zs||jFe.includes(kc.name)))).map(kc=>{const Ue=-Number(kc.sortText)||0;let Rl=kc.kind?String(kc.kind):void 0;return Rl==="member"&&(Rl="property"),Rl&&!BFe.has(Rl)&&(Rl=void 0),{label:kc.name,type:Rl,boost:Ue}});return{from:_o?_o.text==="."?_o.to:_o.from:$a,options:co}}function VFe(Or){if(Or.code===7027)return"warning";switch(Or.category){case kC.DiagnosticCategory.Error:return"error";case kC.DiagnosticCategory.Message:return"info";case kC.DiagnosticCategory.Warning:return"warning";case kC.DiagnosticCategory.Suggestion:return"info"}}function qFe(Or){return!!(Or.file&&typeof Or.start=="number"&&typeof Or.length=="number")}function HFe(Or){return typeof Or.messageText=="string"?Or.messageText:Or.messageText.messageText}function GFe(Or){const Bn=Or.start,xi=HFe(Or);return{from:Bn,to:Bn+Or.length,message:xi,severity:VFe(Or)}}function $Fe({env:Or,path:Bn,diagnosticCodesToIgnore:xi}){if(!Or.getSourceFile(Bn))return[];const $a=Or.languageService.getSyntacticDiagnostics(Bn),xs=Or.languageService.getSemanticDiagnostics(Bn);return[...$a,...xs].filter(_o=>qFe(_o)&&!xi.includes(_o.code)).map(GFe)}function XFe(Or,Bn,xi){Or.getSourceFile(Bn)?Or.updateFile(Bn,xi):Or.createFile(Bn,xi)}function QFe(Or){let Bn;return{async initialize(){Bn=await Or()},updateFile({path:xi,code:zs}){Bn&&XFe(Bn,xi,zs)},getLints({path:xi,diagnosticCodesToIgnore:zs}){return Bn?$Fe({env:Bn,path:xi,diagnosticCodesToIgnore:zs}):[]},getAutocompletion({path:xi,context:zs}){return Bn?UFe({env:Bn,path:xi,context:zs}):null},getHover({path:xi,pos:zs}){if(Bn)return RFe({env:Bn,path:xi,pos:zs})},getEnv(){return Bn}}}_Q(QFe(async function(){const Or=await mFe({target:kC.ScriptTarget.ES2022},"3.7.3",!1,kC),Bn=gFe(Or);return pFe(Bn,[],kC,{})}))})();